feat(Zed): zed's keymap.json
This commit is contained in:
46
zed/keymap.json
Normal file
46
zed/keymap.json
Normal file
@@ -0,0 +1,46 @@
|
||||
// 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": "vim_mode == normal",
|
||||
"bindings": {
|
||||
"space space l": "editor::ToggleRelativeLineNumbers",
|
||||
},
|
||||
},
|
||||
{
|
||||
"context": "vim_mode == normal || vim_mode == visual",
|
||||
"bindings": {
|
||||
"space space z": "zed::ToggleFullScreen",
|
||||
},
|
||||
},
|
||||
{
|
||||
"context": "vim_mode == normal",
|
||||
"bindings": {
|
||||
"space b": "project_panel::ToggleFocus",
|
||||
},
|
||||
},
|
||||
{
|
||||
"context": "vim_mode == normal || vim_mode == visual",
|
||||
"bindings": {
|
||||
"f": "vim::PushSneak",
|
||||
"shift-f": "vim::PushSneakBackward",
|
||||
},
|
||||
},
|
||||
]
|
||||
Reference in New Issue
Block a user