Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
docs: Document `ctrl-b` to toggle left dock not working in Vim mode on Linux and Windows (#39464)
Ben Kunklefd8bae9b7273
diff --git a/docs/src/vim.md b/docs/src/vim.mdindex 7ebac0b3a6e..a1bbf0f424c 100644--- a/docs/src/vim.md+++ b/docs/src/vim.md@@ -535,7 +535,7 @@ The [vim-exchange](https://github.com/tommcdo/vim-exchange) feature does not hav}```-### Restoring common text editing keybindings+### Restoring common text editing and Zed keybindingsIf you're using vim mode on Linux or Windows, you may find it overrides keybindings you can't live without: `ctrl+v` to paste, `ctrl+f` to search, etc. You can restore them by copying this data into your keymap:@@ -543,14 +543,15 @@ If you're using vim mode on Linux or Windows, you may find it overrides keybindi{"context": "Editor && !menu","bindings": {- "ctrl-c": "editor::Copy", // vim default: return to normal mode- "ctrl-x": "editor::Cut", // vim default: decrement- "ctrl-v": "editor::Paste", // vim default: visual block mode- "ctrl-y": "editor::Undo", // vim default: line up- "ctrl-f": "buffer_search::Deploy", // vim default: page down- "ctrl-o": "workspace::Open", // vim default: go back- "ctrl-s": "workspace::Save", // vim default: show signature- "ctrl-a": "editor::SelectAll", // vim default: increment+ "ctrl-c": "editor::Copy", // vim default: return to normal mode+ "ctrl-x": "editor::Cut", // vim default: decrement+ "ctrl-v": "editor::Paste", // vim default: visual block mode+ "ctrl-y": "editor::Undo", // vim default: line up+ "ctrl-f": "buffer_search::Deploy", // vim default: page down+ "ctrl-o": "workspace::Open", // vim default: go back+ "ctrl-s": "workspace::Save", // vim default: show signature+ "ctrl-a": "editor::SelectAll", // vim default: increment+ "ctrl-b": "workspace::ToggleLeftDock" // vim default: down}},```