Is there a way to set the cursor in normal mode to the end of the line?
for example, |abcdefg
to abcdefg|
not abcdef|g
Cursor moves one character backwards on exiting insert mode
https://stackoverflow.com/questions/21447058/how-to-move-vim-cursor-actually-to-the-end-of-line-word
I looked up these but these threads don't give the solution to the problem but rather explaining how the default behavior of vim works.
Is there a way to move cursor at the end of the line just like how insert mode does with appending?
A
is better than$a
org$i
. If you can say more about why you want the cursor in that position, we can suggest better ideas.virtualedit=onemore
, re-mapping$
tog$
and alsoi
toa
.