Found in a comment on version tracker that will (finally) let you set your delete key on your mac to send backspace (important to me because routers don’t do terminal types as well as they should) and reposting it here to share:
End your delete-should-backspace woes when using Vim remotely with iTerm by adding one simple keyboard mapping. Go to iTerm preferences, Profiles, Keyboard, choose Profile=Global, add this mapping…
Key: delete
Action: send hex code
Hex code: 0×08
Tell your bookmarks to use the Global keyboard setting.
Jakob Persson
2/26/2008 | 3:16 pm1
Oops…make that 0×7F
Jakob Persson
2/26/2008 | 3:16 pm2
Apparently it’s 0×07 in the current version of iTerm, that fixed the problem I was having with pico/nano.
Keith
12/1/2007 | 10:51 am3
Just so you know, in iTerm v. 0.9.5, the profile section has been moved Bookmarks/Manage Profiles. Thanks for the pointer for what to put in the mapping though…
Jim
2/9/2007 | 5:02 pm4
Thank you for making that note. Worked great!