config(zed): keymap for vim mode

main
sudo pacman -Syu 2024-09-28 10:42:59 +07:00
parent 47f532f72d
commit f76220a245
1 changed files with 9 additions and 0 deletions

View File

@ -5,5 +5,14 @@
"tab": "zed::NoAction",
"alt-right": "editor::AcceptInlineCompletion"
}
},
{
"context": "Editor && (vim_mode == normal || vim_mode == visual)",
"bindings": {
"; d": ["workspace::SendKeystrokes", "\" _ d"],
"; c": ["workspace::SendKeystrokes", "\" _ c"],
"; x": ["workspace::SendKeystrokes", "\" _ x"],
"space f": "editor::Format"
}
}
]