Re:A Quick and Easy Guide to Tmux (2015)
by dba7dba on Tuesday October 29, 2019 @09:44PM
(#21393901)
I am sure you may know this already but iTerm has a prefenrece setting called
"Confirm Quit iTerm2 ... command"
Checking it on has saved me quite a bit of trouble.
No longer do I have to worry about losing all of my process when I accidentally close iTerm. This, coupled with the fact that you can Ctrl-B Ctrl-B and control your tmux within tmux... It's even fairly easy to script and make awesome workflows. Take for instance this script which shows a diff in a left pane and a commit editor in the right pane: https://gist.github.com/nvahalik/36108d4b892b6f66982537235f9...