Friday, July 18, 2014

iTerm2 configuration

A few settings to make iTerm2 more comfortable to use:

  • Map command + k / command + j to history navigation (i.e. arrow keys). You need escape sequences for this:
    • Up arrow key: ^[OA, in OSX terms Esc + OA
    • Down arrow key: ^[OB, in OSX terms Esc + OB
    You can get there by profiles -- open profiles -- edit -- keys -- global shortcuts -- add -- map to escape sequence.
  • Hotkey for a pull-down (guake) style terminal, see this post: iTerm as a slide-out terminal from the top of the screen - Ask Different

0 comments: