When I use VIM in the terminal on my local machine (Mac OS X Snow Leopard), the delete key is really backspace (i.e., destructive backspace).
When I SSH into a particular server, for some reason it's regular delete (i.e., delete the character under the cursor).
How can I change it to be consistent? I've tried a dozen solutions, but nothing seems to work.
Checking the "Delete sends Ctrl-H" box in Terminal Preferences->Advanced doesn't work -- this is non-destructive backspace.
I've tried about a hundred different key mappings in VIM, to no avail.
Interestingly, the key works as expected when I'm typing commands in VIM (e.g., : <something>
) -- it's only screwed up when I'm editing the actual text. Any ideas?