From a18e80c8148f1dd5516e1fe1e903d604af47b192 Mon Sep 17 00:00:00 2001 From: Daniel Heras Quesada Date: Sun, 30 Mar 2025 18:01:49 +0200 Subject: [PATCH] feat: keymap bindings for project panel + deprecated removed --- keymap.json | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/keymap.json b/keymap.json index 4faa3fa..aaac3cc 100644 --- a/keymap.json +++ b/keymap.json @@ -44,20 +44,34 @@ { "context": "ProjectPanel", "bindings": { - "ctrl-n": "workspace::ToggleLeftDock" + "ctrl-n": "workspace::ToggleLeftDock", + "f12": "project_panel::Rename", + "shift-enter": "project_panel::OpenWithSystem" + } + }, + { + "context": "ProjectPanel && not_editing", + "bindings": { + "d": "project_panel::Delete", + "c": "project_panel::Copy", + "r": "project_panel::Rename", + "x": "project_panel::Cut", + "y": "workspace::CopyRelativePath", + "a": "project_panel::NewFile", + "A": "project_panel::NewDirectory" } }, { "context": "Editor && (showing_code_actions || showing_completions)", "bindings": { - "up": "editor::ContextMenuPrev", - "ctrl-p": "editor::ContextMenuPrev", + "up": "editor::ContextMenuPrevious", + "ctrl-p": "editor::ContextMenuPrevious", "down": "editor::ContextMenuNext", "ctrl-n": "editor::ContextMenuNext", "pageup": "editor::ContextMenuFirst", "pagedown": "editor::ContextMenuLast", "tab": "editor::ContextMenuNext", - "shift-tab": "editor::ContextMenuPrev" + "shift-tab": "editor::ContextMenuPrevious" } }, { @@ -68,7 +82,7 @@ "space b": "workspace::NewFile", "space f f": "file_finder::Toggle", "space space": "file_finder::Toggle", - "shift-tab": "pane::ActivatePrevItem", + "shift-tab": "pane::ActivatePreviousItem", "tab": "pane::ActivateNextItem", "ctrl-h": "workspace::ActivatePaneLeft", "ctrl-l": "workspace::ActivatePaneRight",