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:
5brian 2025-04-28 14:14:43 -04:00 committed by GitHub
parent b41ffae161
commit ed367e1636
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 134 additions and 13 deletions

View file

@ -0,0 +1,24 @@
{"Put":{"state":"ˇ"}}
{"Key":"["}
{"Key":"space"}
{"Get":{"state":"\nˇ","mode":"Normal"}}
{"Put":{"state":"The ˇquick"}}
{"Key":"["}
{"Key":"space"}
{"Get":{"state":"\nThe ˇquick","mode":"Normal"}}
{"Put":{"state":"The qˇuick\nbrown fox\njumps over"}}
{"Key":"["}
{"Key":"space"}
{"Get":{"state":"\nThe qˇuick\nbrown fox\njumps over","mode":"Normal"}}
{"Put":{"state":"The quick\nbrown ˇfox\njumps over"}}
{"Key":"["}
{"Key":"space"}
{"Get":{"state":"The quick\n\nbrown ˇfox\njumps over","mode":"Normal"}}
{"Put":{"state":"The quick\nbrown fox\njumps ˇover"}}
{"Key":"["}
{"Key":"space"}
{"Get":{"state":"The quick\nbrown fox\n\njumps ˇover","mode":"Normal"}}
{"Put":{"state":"The quick\nˇ\nbrown fox"}}
{"Key":"["}
{"Key":"space"}
{"Get":{"state":"The quick\n\nˇ\nbrown fox","mode":"Normal"}}