Fixed broken shifted keybinds for Helix mode

This commit is contained in:
CO 2025-04-26 13:42:06 +02:00 committed by CJ van den Berg
parent 4ecc278b3f
commit 392cb2c764

View file

@ -21,7 +21,7 @@
["ctrl+a", "increment"], ["ctrl+a", "increment"],
["ctrl+x", "decrement"], ["ctrl+x", "decrement"],
["ctrl+shift+6", "open_previous_file"], ["ctrl+^", "open_previous_file"],
["alt+.", "repeat_last_motion"], ["alt+.", "repeat_last_motion"],
["alt+`", "to_upper"], ["alt+`", "to_upper"],
@ -50,56 +50,54 @@
["alt+u", "undo"], ["alt+u", "undo"],
["alt+,", "remove_primary_selection"], ["alt+,", "remove_primary_selection"],
["alt+shift+c", "copy_selection_on_next_line"], ["alt+C", "copy_selection_on_next_line"],
["alt+shift+i", "select_all_children"], ["alt+I", "select_all_children"],
["alt+shift+down", "select_all_children"], ["alt+shift+down", "select_all_children"],
["alt+shift+u", "redo"], ["alt+U", "redo"],
["alt+shift+j", "join_selections_space"], ["alt+J", "join_selections_space"],
["alt+shift+(", "rotate_selection_contents_backward"], ["alt+(", "rotate_selection_contents_backward"], ["alt+)", "rotate_selection_contents_forward"],
["alt+shift+)", "rotate_selection_contents_forward"], ["alt+|", "shell_pipe_to"],
["alt+shift+\\", "shell_pipe_to"], ["alt+!", "shell_append_output"],
["alt+shift+1", "shell_append_output"],
["shift+`", "switch_case"], ["~", "switch_case"],
["shift+t", "till_prev_char"], ["T", "till_prev_char"],
["shift+f", "move_to_char", "move_to_char_left"], ["F", "move_to_char", "move_to_char_left"],
["shift+w", "move_next_long_word_start"], ["W", "move_next_long_word_start"],
["shift+b", "move_prev_long_word_start"], ["B", "move_prev_long_word_start"],
["shift+e", "move_next_long_word_end"], ["E", "move_next_long_word_end"],
["shift+i", ["enter_mode", "insert"], ["smart_move_begin"]], ["I", ["enter_mode", "insert"], ["smart_move_begin"]],
["shift+a", ["enter_mode", "insert"], ["move_end"]], ["A", ["enter_mode", "insert"], ["move_end"]],
["shift+o", ["enter_mode", "insert"], ["smart_insert_line_before"]], ["O", ["enter_mode", "insert"], ["smart_insert_line_before"]],
["shift+c", "copy_selection_on_next_line"], ["C", "copy_selection_on_next_line"],
["shift+s", "split_selection"], ["S", "split_selection"],
["shift+x", "extend_to_line_bounds"], ["X", "extend_to_line_bounds"],
["shift+/", "rfind"], ["?", "rfind"],
["shift+n", "goto_prev_match"], ["N", "goto_prev_match"],
["shift+8", "search_selection"], ["*", "search_selection"],
["shift+u", "redo"], ["U", "redo"],
["shift+p", "paste"], ["P", "paste"],
["shift+q", "replay_macro"], ["Q", "replay_macro"],
["shift+.", "indent"], [">", "indent"],
["shift+,", "unindent"], ["<", "unindent"],
["shift+j", "join_selections"], ["J", "join_selections"],
[":", "open_command_palette"], [":", "open_command_palette"],
["shift+;", "open_command_palette"],
["shift+7", "align_selections"], ["&", "align_selections"],
["shift+-", "trim_selections"], ["_", "trim_selections"],
["shift+9", "rotate_selections_backward"], ["(", "rotate_selections_backward"],
["shift+0", "rotate_selections_forward"], [")", "rotate_selections_forward"],
["shift+\"", "select_register"], ["\"", "select_register"],
["shift+\\", "shell_pipe"], ["|", "shell_pipe"],
["shift+1", "shell_insert_output"], ["!", "shell_insert_output"],
["shift+4", "shell_keep_pipe"], ["$", "shell_keep_pipe"],
["h", "move_left"], ["h", "move_left"],
["j", "move_down"], ["j", "move_down"],
@ -140,7 +138,7 @@
["g k", "goto_previous_buffer"], ["g k", "goto_previous_buffer"],
["g .", "goto_last_modification"], ["g .", "goto_last_modification"],
["g w", "goto_word"], ["g w", "goto_word"],
["g shift+d", "goto_declaration"], ["g D", "goto_declaration"],
["i", "enter_mode", "insert"], ["i", "enter_mode", "insert"],
["a", ["enter_mode", "insert"], ["move_right"]], ["a", ["enter_mode", "insert"], ["move_right"]],
@ -160,9 +158,9 @@
["m a", "select_textobject_around"], ["m a", "select_textobject_around"],
["m i", "select_textobject_inner"], ["m i", "select_textobject_inner"],
["[ shift+d", "goto_first_diag"], ["[ D", "goto_first_diag"],
["[ shift+g", "goto_first_change"], ["[ G", "goto_first_change"],
["[ shift+t", "goto_prev_test"], ["[ T", "goto_prev_test"],
["[ d", "goto_prev_diagnostic"], ["[ d", "goto_prev_diagnostic"],
["[ g", "goto_prev_change"], ["[ g", "goto_prev_change"],
["[ f", "goto_prev_function"], ["[ f", "goto_prev_function"],
@ -173,9 +171,9 @@
["[ p", "goto_prev_paragraph"], ["[ p", "goto_prev_paragraph"],
["[ space", "add_newline_above"], ["[ space", "add_newline_above"],
["] shift+d", "goto_last_diag"], ["] D", "goto_last_diag"],
["] shift+g", "goto_last_change"], ["] G", "goto_last_change"],
["] shift+t", "goto_next_test"], ["] T", "goto_next_test"],
["] d", "goto_next_diagnostic"], ["] d", "goto_next_diagnostic"],
["] g", "goto_next_change"], ["] g", "goto_next_change"],
["] f", "goto_next_function"], ["] f", "goto_next_function"],
@ -204,12 +202,12 @@
["page_up", "move_scroll_page_up"], ["page_up", "move_scroll_page_up"],
["page_down", "move_scroll_page_down"], ["page_down", "move_scroll_page_down"],
["space shift+f", "find_file"], ["space F", "find_file"],
["space shift+s", "workspace_symbol_picker"], ["space S", "workspace_symbol_picker"],
["space shift+d", "workspace_diagnostics_picker"], ["space D", "workspace_diagnostics_picker"],
["space shift+p", "system_paste"], ["space P", "system_paste"],
["space shift+r", "replace_selections_with_clipboard"], ["space R", "replace_selections_with_clipboard"],
["space shift+/", "open_command_palette"], ["space ?", "open_command_palette"],
["space f", "find_file"], ["space f", "find_file"],
["space b", "buffer_picker"], ["space b", "buffer_picker"],
["space j", "jumplist_picker"], ["space j", "jumplist_picker"],
@ -273,7 +271,7 @@
["ctrl+a", "increment"], ["ctrl+a", "increment"],
["ctrl+x", "decrement"], ["ctrl+x", "decrement"],
["ctrl+shift+6", "open_previous_file"], ["ctrl+^", "open_previous_file"],
["alt+.", "repeat_last_motion"], ["alt+.", "repeat_last_motion"],
@ -306,72 +304,71 @@
["alt+,", "remove_primary_selection"], ["alt+,", "remove_primary_selection"],
["alt+shift+c", "copy_selection_on_next_line"], ["alt+C", "copy_selection_on_next_line"],
["alt+shift+i", "select_all_children"], ["alt+I", "select_all_children"],
["alt+shift+down", "select_all_children"], ["alt+shift+down", "select_all_children"],
["alt+shift+u", "redo"], ["alt+U", "redo"],
["alt+shift+j", "join_selections_space"], ["alt+J", "join_selections_space"],
["alt+shift+(", "rotate_selection_contents_backward"], ["alt+(", "rotate_selection_contents_backward"],
["alt+shift+)", "rotate_selection_contents_forward"], ["alt+)", "rotate_selection_contents_forward"],
["alt+shift+\\", "shell_pipe_to"], ["alt+|", "shell_pipe_to"],
["alt+shift+1", "shell_append_output"], ["alt+!", "shell_append_output"],
["shift+`", "switch_case"], ["~", "switch_case"],
["shift+t", "extend_till_prev_char"], ["T", "extend_till_prev_char"],
["shift+f", "move_to_char", "select_to_char_left_vim"], ["F", "move_to_char", "select_to_char_left_vim"],
["shift+w", "extend_next_long_word_start"], ["W", "extend_next_long_word_start"],
["shift+b", "extend_prev_long_word_start"], ["B", "extend_prev_long_word_start"],
["shift+e", "extend_next_long_word_end"], ["E", "extend_next_long_word_end"],
["shift+g", "move_buffer_end_or_count_line"], ["G", "move_buffer_end_or_count_line"],
["shift+i", ["enter_mode", "insert"], ["smart_move_begin"]], ["I", ["enter_mode", "insert"], ["smart_move_begin"]],
["shift+a", ["enter_mode", "insert"], ["move_end"]], ["A", ["enter_mode", "insert"], ["move_end"]],
["shift+o", ["enter_mode", "insert"], ["smart_insert_line_before"]], ["O", ["enter_mode", "insert"], ["smart_insert_line_before"]],
["shift+c", "copy_selection_on_next_line"], ["C", "copy_selection_on_next_line"],
["shift+s", "split_selection"], ["S", "split_selection"],
["shift+x", "extend_to_line_bounds"], ["X", "extend_to_line_bounds"],
["shift+/", "rfind"], ["?", "rfind"],
["shift+n", "extend_search_next"], ["N", "extend_search_next"],
["shift+8", "extend_search_prev"], ["*", "extend_search_prev"],
["shift+u", "redo"], ["U", "redo"],
["shift+p", "paste"], ["P", "paste"],
["shift+q", "replay_macro"], ["Q", "replay_macro"],
["shift+.", "indent"], [">", "indent"],
["shift+,", "unindent"], ["<", "unindent"],
["shift+j", "join_selections"], ["J", "join_selections"],
[":", "open_command_palette"], [":", "open_command_palette"],
["shift+;", "open_command_palette"],
["shift+7", "align_selections"], ["&", "align_selections"],
["shift+-", "trim_selections"], ["_", "trim_selections"],
["shift+9", "rotate_selections_backward"], ["(", "rotate_selections_backward"],
["shift+0", "rotate_selections_forward"], [")", "rotate_selections_forward"],
["shift+'", "select_register"], ["\"", "select_register"],
["shift+\\", "shell_pipe"], ["|", "shell_pipe"],
["shift+1", "shell_insert_output"], ["!", "shell_insert_output"],
["shift+4", "shell_keep_pipe"], ["$", "shell_keep_pipe"],
["h", "select_left_helix"], ["h", "select_left_helix"],
["j", "select_down"], ["j", "select_down"],
@ -394,7 +391,7 @@
["b", "extend_pre_word_start"], ["b", "extend_pre_word_start"],
["e", "extend_next_word_end"], ["e", "extend_next_word_end"],
["shift+v", "enter_mode", "normal"], ["v", "enter_mode", "normal"],
["g g", "move_buffer_begin"], ["g g", "move_buffer_begin"],
["g e", "move_buffer_end"], ["g e", "move_buffer_end"],
@ -416,7 +413,7 @@
["g k", "goto_previous_buffer"], ["g k", "goto_previous_buffer"],
["g .", "goto_last_modification"], ["g .", "goto_last_modification"],
["g w", "goto_word"], ["g w", "goto_word"],
["g shift+d", "goto_declaration"], ["g D", "goto_declaration"],
["i", "enter_mode", "insert"], ["i", "enter_mode", "insert"],
["a", ["enter_mode", "insert"], ["move_right"]], ["a", ["enter_mode", "insert"], ["move_right"]],
@ -437,9 +434,9 @@
["m a", "select_textobject_around"], ["m a", "select_textobject_around"],
["m i", "select_textobject_inner"], ["m i", "select_textobject_inner"],
["[ shift+d", "goto_first_diag"], ["[ D", "goto_first_diag"],
["[ shift+g", "goto_first_change"], ["[ G", "goto_first_change"],
["[ shift+t", "goto_prev_test"], ["[ T", "goto_prev_test"],
["[ d", "goto_prev_diagnostic"], ["[ d", "goto_prev_diagnostic"],
["[ g", "goto_prev_change"], ["[ g", "goto_prev_change"],
@ -479,12 +476,12 @@
["escape", "enter_mode", "normal"], ["escape", "enter_mode", "normal"],
["space shift+f", "file_picker_in_current_directory"], ["space F", "file_picker_in_current_directory"],
["space shift+s", "workspace_symbol_picker"], ["space S", "workspace_symbol_picker"],
["space shift+d", "workspace_diagnostics_picker"], ["space D", "workspace_diagnostics_picker"],
["space shift+p", "system_paste"], ["space P", "system_paste"],
["space shift+r", "replace_selections_with_clipboard"], ["space R", "replace_selections_with_clipboard"],
["space shift+/", "open_command_palette"], ["space ?", "open_command_palette"],
["space f", "file_picker"], ["space f", "file_picker"],
["space b", "buffer_picker"], ["space b", "buffer_picker"],