vim: Fix r enter
indentation (#29838)
Release Notes:
- `r enter` now maintains indentation, matching vim
Useful info for this implementation can be found here:
c3f48e3a76/src/normal.c (L4865)
This commit is contained in:
parent
4b9b908233
commit
c56a1cf2b1
2 changed files with 24 additions and 3 deletions
|
@ -29,3 +29,12 @@
|
|||
{"Key":"-"}
|
||||
{"Key":""}
|
||||
{"Get":{"state":"ˇhello world\n","mode":"Normal"}}
|
||||
{"Put":{"state":" helloˇ world\n"}}
|
||||
{"Key":"r"}
|
||||
{"Key":"enter"}
|
||||
{"Get":{"state":" hello\n ˇ world\n","mode":"Normal"}}
|
||||
{"Put":{"state":" helloˇ world\n"}}
|
||||
{"Key":"2"}
|
||||
{"Key":"r"}
|
||||
{"Key":"enter"}
|
||||
{"Get":{"state":" hello\n ˇ orld\n","mode":"Normal"}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue