feat(vim-mode): simplify vim mode bindings

This commit is contained in:
CJ van den Berg 2025-01-19 14:04:33 +01:00
parent 42bc301426
commit 70c4c78138
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9

View file

@ -34,10 +34,8 @@
["/", "find"], ["/", "find"],
["n", "goto_next_match"], ["n", "goto_next_match"],
["0", "move_begin"], ["0", "move_begin"],
["<S-4>", "move_end"], ["$", "move_end"],
[":", "open_command_palette"], [":", "open_command_palette"],
[";", "open_command_palette"],
["<S-;>", "open_command_palette"],
["p", "paste"], ["p", "paste"],
["gd", "goto_definition"], ["gd", "goto_definition"],
@ -45,12 +43,12 @@
["gy", "goto_type_definition"], ["gy", "goto_type_definition"],
["gg", "move_buffer_begin"], ["gg", "move_buffer_begin"],
["grn", "rename_symbol"], ["grn", "rename_symbol"],
["g<S-d>", "goto_declaration"], ["gD", "goto_declaration"],
["<S-g>", "move_buffer_end"], ["G", "move_buffer_end"],
["d<S-4>", "delete_to_end"], ["d$", "delete_to_end"],
["dd", "cut"], ["dd", "cut"],
["<S-'><S-->dd", "delete_line"], ["\"_dd", "delete_line"],
["yy", "copy_line"], ["yy", "copy_line"],
@ -96,8 +94,6 @@
"on_match_failure": "ignore", "on_match_failure": "ignore",
"press": [ "press": [
[":", "open_command_palette"], [":", "open_command_palette"],
[";", "open_command_palette"],
["<S-;>", "open_command_palette"],
["b", "open_keybind_config"], ["b", "open_keybind_config"],
["j", "home_menu_down"], ["j", "home_menu_down"],
["k", "home_menu_up"], ["k", "home_menu_up"],