I'm using evil
via spacemacs
. When I exit insert state, the cursor moves to the left one character. Why is that? Is it a bug, or is it a feature? Can I turn it off?
"Moving one space left after leaving insert" is the default behavior in Vim, which evil
(on top of which spacemacs
is built) emulates by default. If you don't like that behavior, you can set (setq evil-move-cursor-back nil)
.
-
Thank you! Now i see what a dumb question it was. I've checked my
.vimrc
, and it there is ainoremap <Tab> <Esc>`^
(i remapEsc
toTab
). That's why i've never noticed it in Vim! – siphiuel Nov 13 '15 at 14:53