Inspired by https://gist.github.com/henrik/1967800 NOTE: These presuppose my dotfiles
ttmuxtmuxstart new sessiontmux new -s mynamestart new with session nametmux aattachtmux a -t <name>attached to named sessiontma <name>tmux attach to named session, with tab autocompletetattmux attach to a session named after the current directorytmux lslist sessionstmux kill-session -t <name>kill session namedtmux kill-session -akill all sessions
- prefix ==
CTRL + s, this savesCTRL + afor jumping to the start of a line <prefix> dto kill session<prefix> jjump to tmux pane below current pane (presupposes dotfiles)<pre> %open new plane horizontally<pre> "open new plane vertically<pre> ddetatch from current session<pre> xclose current paneCTRL dclose current pane<pre> zzoom in on current pane (make it occupy entire screen), repeat to zoom out<pre> ccreate new window in current session<pre> topen 24-hr clock in present pane<pre> hmove to previous window<pre> lmove to next window<pre> CTRL-ljump to last window you were on<pre> Ljump to last session you were on<pre><n>jump to window n<pre> bbreak pane out into its own window<pre> C-jopen choose tree mode to select a new window, to view panes while in choose-tree mode
<pre> k(custom) or<prefix> [enter scroll mode- normal vim navigation/searching will work
yto copy the highlighted text into the OSX clipboardqquit scroll mode? <string>search and find string above cursor/ <string>search and find string below cursor