summaryrefslogtreecommitdiff
path: root/.config/zed/keymap.json
diff options
context:
space:
mode:
Diffstat (limited to '.config/zed/keymap.json')
-rw-r--r--.config/zed/keymap.json74
1 files changed, 74 insertions, 0 deletions
diff --git a/.config/zed/keymap.json b/.config/zed/keymap.json
new file mode 100644
index 0000000..e6fe85e
--- /dev/null
+++ b/.config/zed/keymap.json
@@ -0,0 +1,74 @@
+// Zed keymap
+//
+// For information on binding keys, see the Zed
+// documentation: https://zed.dev/docs/key-bindings
+//
+// To see the default key bindings run `zed: open default keymap`
+// from the command palette.
+[
+ {
+ "context": "Workspace",
+ "bindings": {
+ // "shift shift": "file_finder::Toggle"
+ },
+ },
+ {
+ "context": "Editor && vim_mode == insert",
+ "bindings": {
+ // "j k": "vim::NormalBefore"
+ },
+ },
+ {
+ "context": "Workspace",
+ "bindings": {
+ "cmd-b r": "task::Spawn"
+ }
+ },
+ {
+ "context": "Workspace",
+ "unbind": {
+ "shift-f10": "task::Spawn"
+ }
+ },
+ {
+ "context": "Editor",
+ "bindings": {
+ "cmd-r r": "editor::Rename"
+ }
+ },
+ {
+ "context": "Editor",
+ "unbind": {
+ "shift-f6": "editor::Rename"
+ }
+ },
+ {
+ "context": "ProjectPanel",
+ "bindings": {
+ "cmd-r r": "project_panel::Rename"
+ }
+ },
+ {
+ "context": "ProjectPanel",
+ "unbind": {
+ "shift-f6": "project_panel::Rename"
+ }
+ },
+ {
+ "context": "Workspace",
+ "unbind": {
+ "cmd-r": "workspace::ToggleRightDock"
+ }
+ },
+ {
+ "context": "Editor && mode == full",
+ "unbind": {
+ "cmd-r": [
+ "buffer_search::Deploy",
+ {
+ "replace_enabled": true
+ }
+ ]
+ }
+ }
+]