Skip to content

Instantly share code, notes, and snippets.

@syrm
Created August 1, 2023 16:56
Show Gist options
  • Save syrm/537a99e4f4000a41bf71632050b9c603 to your computer and use it in GitHub Desktop.
Save syrm/537a99e4f4000a41bf71632050b9c603 to your computer and use it in GitHub Desktop.
Helix (bépo)
theme = "bouh"
[editor]
line-number = "relative"
auto-save = true
auto-format = true
color-modes = true
#auto-pairs = true
rulers = [120]
idle-timeout = 5
[editor.cursor-shape]
insert = "bar"
normal = "block"
select = "underline"
[editor.indent-guides]
render = true
character = "▏"
[editor.lsp]
display-messages = true
auto-signature-help = false
[editor.statusline]
left = ["mode", "spinner", "file-name", "file-type", "total-line-numbers", "file-encoding"]
center = ["selections", "primary-selection-length", "position", "position-percentage"]
right = ["diagnostics", "workspace-diagnostics"]
[keys.normal]
# movement
# c = "move_char_left"
# t = "move_visual_line_down"
# s = "move_visual_line_up"
# r = "move_char_right"
# é = "move_next_word_start"
# k = "move_prev_word_start"
# p = "move_next_word_end"
# É = "move_next_long_word_start"
# K = "move_prev_long_word_start"
# P = "move_next_long_word_end"
# è = "find_till_char"
# e = "find_next_char"
# È = "till_prev_char"
# E = "find_prev_char"
# ; = "goto_line"
# Alt-h = "repeat_last_motion"
# Ctrl-k = "page_up"
# Ctrl-e = "page_down"
# Ctrl-v = "half_page_up"
# Ctrl-i = "half_page_down"
# Ctrl-d = "jump_forward"
# Ctrl-l = "jump_backward"
# Ctrl-u = "save_selection"
# change
a = "yank"
"," = "find_till_char"
y = "extend_line_below"
x = "change_selection"
c = "move_char_left"
r = "move_char_right"
t = "move_line_down"
s = "move_line_up"
C-space = "signature_help"
C-s = ":write"
C-q = "save_selection"
C-g = "jump_forward"
[keys.insert]
"C-à" = "normal_mode"
C-space = "signature_help"
C-s = ":write"
[keys.select]
a = "yank"
y = "no_op"
c = "move_char_left"
r = "move_char_right"
t = "move_line_down"
s = "move_line_up"
C-s = ":write"
# popup
# c-u, scroll up
# c-d, scroll down
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment