summaryrefslogtreecommitdiff
path: root/zed/keymap.json
diff options
context:
space:
mode:
authorkkard2 <[email protected]>2026-05-07 18:00:21 +0200
committerkkard2 <[email protected]>2026-05-07 18:00:21 +0200
commite69fce27eeae3419bd33ace5e514efd910e4e2ac (patch)
tree670aa2fcc1721931198dce4a76f5ff7eb496c4be /zed/keymap.json
parentb44b1125990fbd5bbf773d04c0cd4747ad6f7011 (diff)
cleanup
Diffstat (limited to 'zed/keymap.json')
-rw-r--r--zed/keymap.json60
1 files changed, 0 insertions, 60 deletions
diff --git a/zed/keymap.json b/zed/keymap.json
deleted file mode 100644
index b06f33b..0000000
--- a/zed/keymap.json
+++ /dev/null
@@ -1,60 +0,0 @@
-// 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.
-[
- {
- // idk why this needs to be editor
- "context": "vim_mode == normal && Editor",
- "bindings": {
- "space space": "file_finder::Toggle"
- }
- },
- {
- "context": "Editor",
- "bindings": {
- // "j k": ["workspace::SendKeystrokes", "escape"]
- }
- },
- {
- "context": "vim_mode == normal && !menu",
- "bindings": {
- "shift-y": ["workspace::SendKeystrokes", "y $"], // Use neovim's yank behavior: yank to end of line.
- "space l f": "editor::Format",
- "space f x": "workspace::CloseAllDocks"
- }
- },
- {
- "context": "vim_mode == visual",
- "bindings": {
- "shift-s": ["vim::PushAddSurrounds", {}]
- }
- },
- {
- "context": "vim_mode == insert",
- "bindings": {
- "ctrl-y": "editor::ConfirmCompletion"
- }
- },
- {
- "context": "Dock",
- "bindings": {
- "ctrl-w h": "workspace::ActivatePaneLeft",
- "ctrl-w l": "workspace::ActivatePaneRight",
- "ctrl-w k": "workspace::ActivatePaneUp",
- "ctrl-w j": "workspace::ActivatePaneDown"
- // ... or other keybindings
- }
- },
-
- {
- // like the command picker and stuff
- "context": "Editor && mode == single_line",
- "bindings": {
- "ctrl-w": "editor::DeleteToPreviousWordStart"
- }
- }
-]