Inspired by https://gist.github.com/henrik/1967800 NOTE: These presuppose my dotfiles
t
tmuxtmux
start new sessiontmux new -s myname
start new with session nametmux a
attachtmux a -t <name>
attached to named sessiontma <name>
tmux attach to named session, with tab autocompletetat
tmux attach to a session named after the current directorytmux ls
list sessionstmux kill-session -t <name>
kill session namedtmux kill-session -a
kill all sessions
- prefix ==
CTRL + s
, this savesCTRL + a
for jumping to the start of a line <prefix> d
to kill session<prefix> j
jump to tmux pane below current pane (presupposes dotfiles)<pre> %
open new plane horizontally<pre> "
open new plane vertically<pre> d
detatch from current session<pre> x
close current paneCTRL d
close current pane<pre> z
zoom in on current pane (make it occupy entire screen), repeat to zoom out<pre> c
create new window in current session<pre> t
open 24-hr clock in present pane<pre> h
move to previous window<pre> l
move to next window<pre> CTRL-l
jump to last window you were on<pre> L
jump to last session you were on<pre><n>
jump to window n<pre> b
break pane out into its own window<pre> C-j
open 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
y
to copy the highlighted text into the OSX clipboardq
quit scroll mode? <string>
search and find string above cursor/ <string>
search and find string below cursor