forked from aniani/vim
Problem: "dv?bar" in the last line deletes too much and breaks undo.
Solution: Only adjust the cursor position when it's after the last line of
the buffer. Add a test. (Christian Brabandt)
12 lines
137 B
Plaintext
12 lines
137 B
Plaintext
1 a aa abb abbcc
|
|
2 d dd dee deeff
|
|
3 g gg ghh ghhii
|
|
4 j jj jkk jkkll
|
|
5 m mm mnn mnnoo
|
|
6 x aa$ x
|
|
7 (a)(b) abba
|
|
8 axx ab]xx
|
|
9 foobar
|
|
9 foo
|
|
|