Skip to content

Instantly share code, notes, and snippets.

@Liana64
Last active August 24, 2026 15:53
Show Gist options
  • Select an option

  • Save Liana64/c4c318902c854614201cb755ee37f9be to your computer and use it in GitHub Desktop.

Select an option

Save Liana64/c4c318902c854614201cb755ee37f9be to your computer and use it in GitHub Desktop.
helix: config.toml
theme = "kanagawa-dim"
[editor]
bufferline = "multiple"
color-modes = true
cursorline = true
default-yank-register = "+"
end-of-line-diagnostics = "hint"
line-number = "relative"
trim-final-newlines = true
[editor.auto-save]
focus-lost = true
[editor.cursor-shape]
insert = "bar"
normal = "block"
select = "underline"
[editor.file-picker]
hidden = false
[editor.indent-guides]
render = true
[editor.inline-diagnostics]
cursor-line = "warning"
[editor.lsp]
display-progress-messages = true
[editor.soft-wrap]
enable = true
[editor.statusline.mode]
insert = "INSERT"
normal = "NORMAL"
select = "VISUAL"
[keys.insert]
C-s = ["normal_mode", ":write"]
[keys.insert.j]
k = "normal_mode"
[keys.normal]
"$" = "goto_line_end"
0 = "goto_line_start"
"@" = "replay_macro"
C = ["extend_to_line_end", "change_selection"]
C-down = "goto_next_buffer"
C-e = "scroll_down"
C-h = "goto_previous_buffer"
C-j = "goto_next_buffer"
C-k = "goto_previous_buffer"
C-l = "goto_next_buffer"
C-left = "goto_previous_buffer"
C-n = "copy_selection_on_next_line"
C-p = "copy_selection_on_prev_line"
C-right = "goto_next_buffer"
C-s = ":write"
C-up = "goto_previous_buffer"
C-v = "select_mode"
C-y = "scroll_up"
D = ["extend_to_line_end", "delete_selection"]
G = "goto_last_line"
H = "goto_window_top"
L = "goto_window_bottom"
M = "goto_window_center"
Y = ["extend_to_line_end", "yank"]
"^" = "goto_first_nonwhitespace"
backspace = "move_char_left"
q = "record_macro"
"{" = "goto_prev_paragraph"
"}" = "goto_next_paragraph"
[keys.normal.C-x]
0 = "wclose"
1 = "wonly"
2 = ":hsplit"
3 = ":vsplit"
C-c = ":write-quit-all"
C-e = "file_explorer"
C-f = "file_picker"
C-g = "global_search"
C-j = "file_explorer"
b = "buffer_picker"
c = ":buffer-close-others"
h = "select_all"
r = ":reload-all"
x = ":buffer-close"
[keys.normal.C-x.g]
f = ":sh kitty --detach lazygit -f '%{buffer_name}'"
g = ":sh kitty --detach lazygit"
s = "changed_file_picker"
[keys.normal.C-x.l]
R = "rename_symbol"
a = "code_action"
d = "goto_definition"
k = "hover"
r = "goto_reference"
s = "symbol_picker"
t = "workspace_diagnostics_picker"
[keys.normal.Z]
Q = ":quit!"
Z = ":write-quit"
[keys.normal."["]
h = "goto_prev_change"
[keys.normal."]"]
h = "goto_next_change"
[keys.normal.space]
"+" = "increment"
- = "decrement"
e = "file_explorer"
[keys.normal.space.g]
f = ":sh kitty --detach lazygit -f '%{buffer_name}'"
g = ":sh kitty --detach lazygit"
s = "changed_file_picker"
[keys.normal.space.l]
R = "rename_symbol"
a = "code_action"
d = "goto_definition"
k = "hover"
r = "goto_reference"
s = "symbol_picker"
t = "workspace_diagnostics_picker"
[keys.normal.space.q]
q = ":quit-all!"
[keys.normal.space.s]
h = ":hsplit"
v = ":vsplit"
x = "wclose"
[keys.normal.space.t]
c = ":buffer-close-others"
n = "goto_next_buffer"
o = ":new"
p = "goto_previous_buffer"
x = ":buffer-close"
[keys.normal.space.z]
z = ":write-quit-all"
[keys.select]
"$" = "goto_line_end"
0 = "goto_line_start"
C-s = ["normal_mode", ":write"]
G = "goto_last_line"
H = "goto_window_top"
L = "goto_window_bottom"
M = "goto_window_center"
S = "surround_add"
U = "switch_to_uppercase"
"^" = "goto_first_nonwhitespace"
a = "select_textobject_around"
i = "select_textobject_inner"
o = "flip_selections"
p = "replace_with_yanked"
u = "switch_to_lowercase"
"{" = "goto_prev_paragraph"
"}" = "goto_next_paragraph"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment