Tip: #1284 - Fix delete in terminals that send incorrect delete code
Created: July 16, 2006 6:53 Complexity: basic Author: microserf Version: 5.7 Karma: 15/6 Imported from: Tip#1284
From the vimdocs:
"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
Thanks a thousand, You saved my life!
Anonymous
, July 19, 2006 22:22