Skip to content

Instantly share code, notes, and snippets.

@sandinist
Created January 23, 2012 01:38
Show Gist options
  • Save sandinist/1659881 to your computer and use it in GitHub Desktop.
Save sandinist/1659881 to your computer and use it in GitHub Desktop.
pry iterm forward delete
-If you're using a Mac terminal, take a look at [this article](http://www.21croissants.com/howto/fix-forward-delete-key-on-snow-leopard-for-irb).
+#### iTerm2
+
+* Go to iTerm > Preferences... > Keys
+* Add a Global Shortcut Key
+* Type the `delete` key as Shortcut
+* Select Send Hex Codes as Action and type 0x004
+* Click on `OK` and you're good to go
+
+#### iTerm
+
+Take a look at [this article](http://www.21croissants.com/howto/fix-forward-delete-key-on-snow-leopard-for-irb) (works for Lion too, but you should use [iTerm2](http://www.iterm2.com/)).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment