December 09, 2014
I started using iTerm 2 recently, mostly because of the ability to use the mouse inside tmux and vim so that my coworkers can still scroll through my code on my computer. Other than that, I probably would have stuck with Terminal. But, with that being said, here are my settings in iTerm.
I uncheck the checkbox that says “Use Lion-style Fullscreen windows” so that I can see the desktop behind, and I can also have windows on top of iTerm when it’s in fullscreen. I almost always have it in fullscreen since I program in vim.
Open preferences and to to the Profiles tab. Create new profile and name it
For the colors, I use a theme called Solarized. It’s a really nice looking theme available for a lot of platforms in a dark and light version. I use it for iTerm and vim.
If you decide to use powerline (mentioned below), for non-ASCII, turn the vertical character spacing up a little bit until the > and < symbols on powerline don’t overlap the top.
Turn up the transparency just a little
Set terminal type to xterm-256color
Under Hotkey, check “Show/hide iTerm2 with a system-wide hotkey”. I set mine to option-Space.
Zsh and oh-my-zsh are awesome. If you don’t know what they are you should check them out.
System Preferences -> Keyboard -> “Modifier Keys…”
For the internal keyboard:
For an external PC keyboard:
Setup Control to send Escape unless it’s used in combination
I also use tmux and vim, and I have all of my configurations for them up on github. Feel free to check it out, it’s all pretty well commented.
Written by Adam Garrett-Harris who lives and works in Silicon Slopes. You should follow him on Twitter