vim: Add neovim 0.11 default mappings (#28602)
Update the keymap to include: https://neovim.io/doc/user/news-0.11.html#_defaults This does conflict with `gr` replace with register though, is `gR` a good alternative? Release Notes: - vim: Update the keymap to include: https://neovim.io/doc/user/news-0.11.html#_defaults - vim: Replace with register has been remapped from `gr` to `gR`.
This commit is contained in:
parent
b41ffae161
commit
ed367e1636
6 changed files with 134 additions and 13 deletions
|
@ -164,7 +164,7 @@ Zed's vim mode includes some features that are usually provided by very popular
|
|||
- You can comment and uncomment selections with `gc` in visual mode and `gcc` in normal mode.
|
||||
- The project panel supports many shortcuts modeled after the Vim plugin `netrw`: navigation with `hjkl`, open file with `o`, open file in a new tab with `t`, etc.
|
||||
- You can add key bindings to your keymap to navigate "camelCase" names. [Head down to the Optional key bindings](#optional-key-bindings) section to learn how.
|
||||
- You can use `gr` to do [ReplaceWithRegister](https://github.com/vim-scripts/ReplaceWithRegister).
|
||||
- You can use `gR` to do [ReplaceWithRegister](https://github.com/vim-scripts/ReplaceWithRegister).
|
||||
- You can use `cx` for [vim-exchange](https://github.com/tommcdo/vim-exchange) functionality. Note that it does not have a default binding in visual mode, but you can add one to your keymap (refer to the [optional key bindings](#optional-key-bindings) section).
|
||||
- You can navigate to indent depths relative to your cursor with the [indent wise](https://github.com/jeetsukumaran/vim-indentwise) plugin `[-`, `]-`, `[+`, `]+`, `[=`, `]=`.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue