Better iTerm keyboard shortcuts


iTerm is a cool terminal replacement for OS X (tabs, bookmarks, and profiles off the top of my head); I’m still using Tiger, I think Leopard’s terminal app has been improved, but I’m not sure how it matches up to iTerm.

I like to use Command (Apple key) + left and Command + right to skip to the beginning and end of lines respectively, unfortunately iTerm doesn’t understand these shortcuts out of the box (although you can use Function + left and right). To enable this:

  1. Open iTerm
  2. Bookmarks menu > Manage profiles
  3. Keyboard profiles > Global
  4. Click +
  5. Key: cursor left, Modifier: Command, Action: send escape sequence “OH”
  6. Click “High interception priority” and then OK
  7. Click +
  8. Key: cursor right, Modifier: Command, Action: send escape sequence “OF”
  9. Click “High interception priority” and then OK

You can also set up Alt + left and Alt + right to navigate between whole words, the commands are:

  • Key: cursor left, Modifier: Option, Action: send escape sequence “f”
  • Key: cursor right, Modifier: Option, Action: send escape sequence “b”
Share this post
  • Digg
  • StumbleUpon
  • Reddit
  • del.icio.us
  • Facebook
  • muti
  • Mixx
  • Google
  • laaik.it

Tags: , , ,

This entry was posted on Monday, September 15th, 2008 at 7:07 pm and is filed under OS X. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

One Response to “Better iTerm keyboard shortcuts”

  1. vod hentai said this on

    Comfortabl y, the post is in reality the freshest on this notable topic. I harmonize with your conclusions and will eagerly look forward to your forthcoming updates. Saying thanks will not just be enough, for the exceptional clarity in your writing. I will right away grab your rss feed to stay informed of any updates. Solid work and much success in your business efforts!

Leave a Reply