Are your Vim / Vi arrow keys making A,C, B etc characters instead of moving around in insert (‘i’) mode ?
Try typing this … it fixes it for me:
:set nocompatible
Or, add the line:
set nocompatible
to your ~/.vimrc file.
Are your Vim / Vi arrow keys making A,C, B etc characters instead of moving around in insert (‘i’) mode ?
Try typing this … it fixes it for me:
:set nocompatible
Or, add the line:
set nocompatible
to your ~/.vimrc file.
Tags:
Thnks that solved my problem.
Fixing vim/vi arrow keys behavior | HB blog // Dec 12, 2008 at 10:58 am
[...] Found here. [...]
solved my problem too… perfect post, you know
Thank you. You saved my day!
Thanks!
That was driving me CRAZY! Much obliged
Thank you! This was really annoying me and it appears to be fixed now!
In my Ubuntu the setting in /etc/vim/vimrc.tiny had a “set compatible” line. I commented it out and everything is OK for all users…
thnz, made my day..
Thx, great.
The default vim installed with Ubuntu is pretty weak. Fix all arrow movement, backspacing, etc problems with:
sudo apt-get install vim
Thank you so much !!
For vi, you need to add the “set nocompatible” line to ~/.exrc
Now I got a decent VIM.
You’re the man !!
Thanks, I knew it was an easy fix but I couldn’t for the life of me remember the command!
Thank you blog author and also thank you Trent; it seems ubuntu and debian share this odd quirk of bundled vim sucking compared to the version available in repo. I just “aptitude install vim” and it installs — even though it was already there — then suddenly this and many other problems vanish into a puff of logic.
wow it given me the new breaths.
Thanks. That save my working day
Thanks a lot. Saved my life…
especially when on a remote machine via ssh…
Thanks you
Thanks for this!!! It was driving me crazy to not be able to use vi for small edits!