helix: update config as per upstream

This commit is contained in:
leo 2023-05-30 11:48:14 +02:00
parent 6e06f5773f
commit 9cca2e6958
Signed by: wanderer
SSH Key Fingerprint: SHA256:Dp8+iwKHSlrMEHzE3bJnPng70I7LEsa3IJXRH/U+idQ

@ -32,6 +32,10 @@ C-j = "shrink_selection"
C-k = "expand_selection" C-k = "expand_selection"
C-l = "select_next_sibling" C-l = "select_next_sibling"
# Upstream's preference
# o = ["open_below", "normal_mode"]
# O = ["open_above", "normal_mode"]
# Muscle memory # Muscle memory
"{" = ["goto_prev_paragraph", "collapse_selection"] "{" = ["goto_prev_paragraph", "collapse_selection"]
"}" = ["goto_next_paragraph", "collapse_selection"] "}" = ["goto_next_paragraph", "collapse_selection"]
@ -75,6 +79,10 @@ u = ["undo", "collapse_selection"]
# Escape the madness! No more fighting with the cursor! Or with multiple cursors! # Escape the madness! No more fighting with the cursor! Or with multiple cursors!
esc = ["collapse_selection", "keep_primary_selection"] esc = ["collapse_selection", "keep_primary_selection"]
# Search for word under cursor
"*" = ["move_char_right", "move_prev_word_start", "move_next_word_end", "search_selection", "search_next"]
"#" = ["move_char_right", "move_prev_word_start", "move_next_word_end", "search_selection", "search_prev"]
# Extend and select commands that expect a manual input can't be chained # Extend and select commands that expect a manual input can't be chained
# I've kept d[X] commands here because it's better to at least have the stuff you want to delete # I've kept d[X] commands here because it's better to at least have the stuff you want to delete
# selected so that it's just a keystroke away to delete # selected so that it's just a keystroke away to delete