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
24
crates/vim/test_data/test_insert_empty_line_above.json
Normal file
24
crates/vim/test_data/test_insert_empty_line_above.json
Normal 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"}}
|
Loading…
Add table
Add a link
Reference in a new issue