Vim Tips Wiki
Advertisement
Tip 1284 Printable Monobook Previous Next

created July 16, 2006 · complexity basic · author microserf · version 5.7


From :help :fixdel:

If your delete key terminal code is wrong, but the code for backspace is alright, you can put this in your vimrc:
:fixdel
This works no matter what the actual code for backspace is.

I use this on OS X running Vim 7.0 under an xterm on X11. I also find "set bs=2" to be very useful for getting sensible backspace behaviour.

Comments


Advertisement