Configuring Kakoune Bindings in the Helix Editor!
cross-posted from: lemmy.ml/post/15059157
cross-posted from: lemmy.ml/post/15059150
Hey friends,
I tried Kakoune for the first time recently—I definitely feel like it gets keybindings right. So I just wrapped up configuring Helix to (as far as I can tell) use those bindings (basically, it totally cuts out select mode and makes things much faster). Thought I’d share for anyone else interested.
<span style="color:#323232;">[keys.normal] </span><span style="color:#323232;">H = "extend_char_left" </span><span style="color:#323232;">J = "extend_line_down" </span><span style="color:#323232;">K = "extend_line_up" </span><span style="color:#323232;">L = "extend_char_right" </span><span style="color:#323232;"> </span><span style="color:#323232;">W = "extend_next_word_start" </span><span style="color:#323232;">E = "extend_next_word_end" </span><span style="color:#323232;">B = "extend_prev_word_start" </span><span style="color:#323232;"> </span><span style="color:#323232;">A-j = "join_selections" </span><span style="color:#323232;"> </span><span style="color:#323232;">A-n = "search_prev" </span><span style="color:#323232;">N = "extend_search_next" </span><span style="color:#323232;">A-N = "extend_search_prev" </span><span style="color:#323232;"> </span><span style="color:#323232;">[keys.normal.g] </span><span style="color:#323232;">e = ["goto_last_line", "goto_line_end"] </span><span style="color:#323232;">G = ["select_mode", "goto_file_start", "normal_mode"] </span><span style="color:#323232;">[keys.normal.G] </span><span style="color:#323232;">H = "extend_to_line_start" </span><span style="color:#323232;">L = "extend_to_line_end" </span><span style="color:#323232;">E = ["select_mode", "goto_last_line", "goto_line_end", "normal_mode"] </span><span style="color:#323232;">[keys.normal.v] </span><span style="color:#323232;">t = "align_view_top" </span><span style="color:#323232;">b = "align_view_bottom" </span><span style="color:#323232;">v = "align_view_center" </span>
Happy editing!
Add comment