keybinds: changes related to lsp rename

* vim mode: bind 'grn' to rename_symbol
* flow mode: bind F4 to toggle_input_mode
This commit is contained in:
Travis Staloch 2025-01-13 15:44:32 -08:00 committed by CJ van den Berg
parent 1c37de6c29
commit 860c36266c
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
2 changed files with 3 additions and 2 deletions

View file

@ -129,7 +129,7 @@
["shift+backspace", "delete_backward"], ["shift+backspace", "delete_backward"],
["shift+tab", "unindent"], ["shift+tab", "unindent"],
["f2", "rename_symbol"], ["f2", "rename_symbol"],
["ctrl+shift+f2", "toggle_input_mode"], ["f4", "toggle_input_mode"],
["ctrl+f2", "insert_command_name"], ["ctrl+f2", "insert_command_name"],
["f3", "goto_next_match"], ["f3", "goto_next_match"],
["f15", "goto_prev_match"], ["f15", "goto_prev_match"],
@ -231,7 +231,7 @@
["alt+i", "toggle_inputview"], ["alt+i", "toggle_inputview"],
["alt+x", "open_command_palette"], ["alt+x", "open_command_palette"],
["f1", "open_help"], ["f1", "open_help"],
["f2", "toggle_input_mode"], ["f4", "toggle_input_mode"],
["ctrl+f2", "insert_command_name"], ["ctrl+f2", "insert_command_name"],
["f6", "open_config"], ["f6", "open_config"],
["f9", "theme_prev"], ["f9", "theme_prev"],

View file

@ -44,6 +44,7 @@
["gi", "goto_implementation"], ["gi", "goto_implementation"],
["gy", "goto_type_definition"], ["gy", "goto_type_definition"],
["gg", "move_buffer_begin"], ["gg", "move_buffer_begin"],
["grn", "rename_symbol"],
["g<S-d>", "goto_declaration"], ["g<S-d>", "goto_declaration"],
["<S-g>", "move_buffer_end"], ["<S-g>", "move_buffer_end"],