diff --git a/docs/src/vim.md b/docs/src/vim.md index 7ebac0b3a6e1110da91ecd101632ecd6bf60f0d1..a1bbf0f424c2cd418306a900f837425c0ce6db4a 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 keybindings If 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 } }, ```