From 860c36266cc0513622a69e45b0e1b2c482a0ce49 Mon Sep 17 00:00:00 2001 From: Travis Staloch <1562827+travisstaloch@users.noreply.github.com> Date: Mon, 13 Jan 2025 15:44:32 -0800 Subject: [PATCH] keybinds: changes related to lsp rename * vim mode: bind 'grn' to rename_symbol * flow mode: bind F4 to toggle_input_mode --- src/keybind/builtin/flow.json | 4 ++-- src/keybind/builtin/vim.json | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/keybind/builtin/flow.json b/src/keybind/builtin/flow.json index e95f9fb..33e5ed6 100644 --- a/src/keybind/builtin/flow.json +++ b/src/keybind/builtin/flow.json @@ -129,7 +129,7 @@ ["shift+backspace", "delete_backward"], ["shift+tab", "unindent"], ["f2", "rename_symbol"], - ["ctrl+shift+f2", "toggle_input_mode"], + ["f4", "toggle_input_mode"], ["ctrl+f2", "insert_command_name"], ["f3", "goto_next_match"], ["f15", "goto_prev_match"], @@ -231,7 +231,7 @@ ["alt+i", "toggle_inputview"], ["alt+x", "open_command_palette"], ["f1", "open_help"], - ["f2", "toggle_input_mode"], + ["f4", "toggle_input_mode"], ["ctrl+f2", "insert_command_name"], ["f6", "open_config"], ["f9", "theme_prev"], diff --git a/src/keybind/builtin/vim.json b/src/keybind/builtin/vim.json index c6dff63..16c1d30 100644 --- a/src/keybind/builtin/vim.json +++ b/src/keybind/builtin/vim.json @@ -44,6 +44,7 @@ ["gi", "goto_implementation"], ["gy", "goto_type_definition"], ["gg", "move_buffer_begin"], + ["grn", "rename_symbol"], ["g", "goto_declaration"], ["", "move_buffer_end"],