Tmux vs. iTerm2 split panes

There is another advantage of tmux: what happens if you accidentally close iterm2? If you do it really by accident, you want to reopen everything again. With tmux it is normally as simple as reattaching session without losing anything. Most terminal emulators send SIGHUP to all children which terminates them by default and thus you … Read more

How do I make iTerm terminal notify me when a job/process is complete?

Notify on already running processes: Shortcut: ⌥⌘ A or: Edit -> Marks and Annotations -> Alerts -> Alert on next mark : iTerm will literally keep an eye (on the top right corner) of your terminal. Once the command is finished, it will contact the Notification Center. Why? Command was already launched, completion time was … Read more

lose vim colorscheme in tmux mode

I had the same problem. Only difference was I am using solarize rather then molokai. To fix the issue, I have set up an alias in ~/.bashrc: alias tmux=”TERM=screen-256color-bce tmux” And set up the default-terminal option in ~/.tmux.conf: set -g default-terminal “xterm” Lastly, do $ source ~/.bashrc to load new alias.

How to export iTerm2 Profiles

If you have a look at Preferences -> General you will notice at the bottom of the panel, there is a setting Load preferences from a custom folder or URL:. There is a button next to it Save settings to Folder. So all you need to do is save your settings first and load it … Read more