0

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

Fisher
  • 1,086
  • 2
  • 13
  • 28

1 Answers1

0

Thanks for the link below. Now this issue is solved.
Prevent escape from moving the cursor one character to the left


  1. Cursor move to the left is the default behaviour. Although it's kinda annoying to me.
  2. Side effect of above link is after a Esc, cursor will keep moving to the right.
  3. Not sure why below two mapping will make ctrl-a move 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