feat(vim-mode): simplify vim mode bindings
This commit is contained in:
parent
42bc301426
commit
70c4c78138
1 changed files with 6 additions and 10 deletions
|
@ -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"],
|
||||||
|
|
||||||
|
@ -90,14 +88,12 @@
|
||||||
["<BS>", "delete_backward"],
|
["<BS>", "delete_backward"],
|
||||||
["<CR>", "insert_line_after"]
|
["<CR>", "insert_line_after"]
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"home": {
|
"home": {
|
||||||
"syntax": "vim",
|
"syntax": "vim",
|
||||||
"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"],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue