my system configurations ^-^
at main 1.2 kB view raw
1// Zed keymap 2// 3// For information on binding keys, see the Zed 4// documentation: https://zed.dev/docs/key-bindings 5// 6// To see the default key bindings run `zed: open default keymap` 7// from the command palette. 8[ 9 { 10 "context": "Workspace", 11 "bindings": { 12 // "shift shift": "file_finder::Toggle" 13 } 14 }, 15 { 16 "context": "Editor", 17 "bindings": { 18 // "j k": ["workspace::SendKeystrokes", "escape"] 19 } 20 }, 21 22 // Helix 23 { 24 "context": "VimControl && !menu", 25 "bindings": { 26 "n": "vim::Left", 27 "e": "vim::Down", 28 "i": "vim::Up", 29 "o": "vim::Right", 30 "backspace": null, 31 "%": "editor::SelectAll" 32 } 33 }, 34 { 35 "context": "vim_mode == helix_normal && !menu", 36 "bindings": { 37 "k": "vim::InsertBefore", 38 "shift-k": "vim::InsertFirstNonWhitespace", 39 40 "j": "vim::MoveToNextMatch", 41 "shift-j": "vim::MoveToPreviousMatch", 42 43 "space b n": "pane::ActivatePreviousItem", 44 "space b o": "pane::ActivateNextItem", 45 46 "g n": "vim::StartOfLine", 47 "g o": "vim::EndOfLine", 48 49 "shift-e": "vim::ScrollDown", 50 "shift-i": "vim::ScrollUp" 51 } 52 } 53]