87 lines
1.7 KiB
TOML
87 lines
1.7 KiB
TOML
|
# Theme
|
||
|
theme = "catppuccin_frappe"
|
||
|
|
||
|
[keys.normal]
|
||
|
|
||
|
# Navigation
|
||
|
n = "move_char_left" # Maps the 'a' key to the move_char_left command
|
||
|
i = "move_visual_line_down"
|
||
|
e = "move_visual_line_up"
|
||
|
o = "move_char_right"
|
||
|
|
||
|
C-i = "half_page_down"
|
||
|
C-e = "half_page_up"
|
||
|
|
||
|
# Modes
|
||
|
h = "insert_mode"
|
||
|
l = "open_below"
|
||
|
L = "open_above"
|
||
|
|
||
|
# Search
|
||
|
k = "search_next"
|
||
|
K = "search_prev"
|
||
|
|
||
|
|
||
|
C-s = ":w" # Maps Ctrl-s to the typable command :w which is an alias for :write (save file)
|
||
|
C-o = ":open ~/.config/helix/config.toml" # Maps Ctrl-o to opening of the helix config file
|
||
|
C-l = ":open ~/.config/helix/languages.toml"
|
||
|
|
||
|
[keys.normal.g]
|
||
|
P = "goto_previous_buffer"
|
||
|
N = "goto_next_buffer"
|
||
|
n = "goto_line_start"
|
||
|
o = "goto_line_end"
|
||
|
|
||
|
[keys.select]
|
||
|
n = "move_char_left"
|
||
|
i = "move_visual_line_down"
|
||
|
e = "move_visual_line_up"
|
||
|
o = "move_char_right"
|
||
|
|
||
|
[editor]
|
||
|
bufferline = "multiple"
|
||
|
auto-save = true
|
||
|
line-number = "relative"
|
||
|
cursorline = true
|
||
|
color-modes = true
|
||
|
text-width = 120
|
||
|
auto-format = true
|
||
|
|
||
|
[editor.statusline]
|
||
|
left = ["mode", "spinner", "version-control", "file-name"]
|
||
|
mode.normal = "Normal"
|
||
|
mode.insert = "Insert"
|
||
|
mode.select = "Select"
|
||
|
|
||
|
[editor.indent-guides]
|
||
|
render = true
|
||
|
|
||
|
[editor.lsp]
|
||
|
display-messages = true
|
||
|
|
||
|
[editor.cursor-shape]
|
||
|
insert = "bar"
|
||
|
normal = "block"
|
||
|
select = "underline"
|
||
|
|
||
|
[editor.file-picker]
|
||
|
hidden = false
|
||
|
|
||
|
[editor.whitespace.render]
|
||
|
space = "all"
|
||
|
tab = "all"
|
||
|
tabpad = "all"
|
||
|
newline = "none"
|
||
|
nbsp = "none"
|
||
|
|
||
|
[editor.whitespace.characters]
|
||
|
space = "·"
|
||
|
tab = "⇀"
|
||
|
tabpad = " "
|
||
|
|
||
|
|
||
|
#w = "move_line_up" # Maps the 'w' key move_line_up
|
||
|
#"C-S-esc" = "extend_line" # Maps Ctrl-Shift-Escape to extend_line
|
||
|
#g = { a = "code_action" } # Maps `ga` to show possible code actions
|
||
|
#"ret" = ["open_below", "normal_mode"] # Maps the enter key to open_below then re-enter normal mode
|