Recently insert position becomes strange.
i can change insert position. Sometimes insert to the left of current cursor, sometimes to the right.
Caps is not activated. VIM 8.0 1-586
Asked
Active
Viewed 272 times
0
Fisher
- 1,086
- 2
- 13
- 28
1 Answers
0
Thanks for the link below. Now this issue is solved.
Prevent escape from moving the cursor one character to the left
- Cursor move to the left is the default behaviour. Although it's kinda annoying to me.
- Side effect of above link is after
aEsc, cursor will keep moving to the right. - Not sure why below two mapping will make
ctrl-amove cursor to the right.
map saveses :mksession! ~/bin/vim/session/default.ses
map loadses :source ~/bin/vim/session/default.ses
Fisher
- 1,086
- 2
- 13
- 28
-
If the answer solves the issue could you validate the solution using the v green button next to the arrow voting button (two days after you post your own solution you are authorized to validate your solution). It allow the question to rest :-) – Vivian De Smedt Feb 27 '23 at 15:35
vim -Nu NONE) if you can't reproduce the problem without a vimrc then you should be able to fix your problem following How do I debug my vimrc? – statox Mar 13 '18 at 12:42