Followup on Mac OS X Terminal: Map option+delete to “backward delete word”.
The Use option key as meta key
option is checked, but the deleting word backwards works only with ^-⌥-H (i.e. one has to also hold the ^ or Control
key)! How can you backward delete a word with ⌥-H only? This annoyance happens only in Terminal.app
... and interestingly also in iTerm.app
!
I also have this in ~/Library/KeyBindings/DefaultKeyBinding.dict
, so that I can enjoy Emacs throughout:
{"~h" = "deleteWordBackward:";}
Environment: OS X 10.8.2 (12C54), Terminal 2.3 (309), iTerm