Changes

Jump to navigation Jump to search
354 bytes added ,  3 years ago
no edit summary
Line 4: Line 4:     
=Quick cheat sheet of helpful tmux commands=
 
=Quick cheat sheet of helpful tmux commands=
Source: <ref>https://gist.github.com/dusenberrymw/638359ea1ce409a2232375edb4a99948</ref>
+
Source: <ref name="Github-1">https://gist.github.com/dusenberrymw/638359ea1ce409a2232375edb4a99948</ref>
 
# <code>tmux new</code> - Create and attach to a new session.
 
# <code>tmux new</code> - Create and attach to a new session.
 
# <code>tmux new -s NAME_HERE</code> - Create and attach to a new session named NAME_HERE.
 
# <code>tmux new -s NAME_HERE</code> - Create and attach to a new session named NAME_HERE.
Line 28: Line 28:  
# <code>CTRL-b, 3</code> - Switch to window 3.
 
# <code>CTRL-b, 3</code> - Switch to window 3.
 
# <code>CTRL-b, CTRL-b, COMMAND</code> - Send the command to a nested tmux session (repeat prefix for each level of nesting).
 
# <code>CTRL-b, CTRL-b, COMMAND</code> - Send the command to a nested tmux session (repeat prefix for each level of nesting).
 +
 +
=Dump live tmux buffer to a file=
 +
Source: <ref name="Github-1" />
 +
 +
# <code>CTRL-b,</code> - to enter the command mode
 +
# <code>capture-pane -S -32768 ; save-buffer FILENAME_HERE</code> - to save at least the last 32,768 lines from the buffer
    
=Configuration file additions=
 
=Configuration file additions=
Line 107: Line 113:  
       tmux send-keys Enter
 
       tmux send-keys Enter
 
     }
 
     }
 +
 +
=Reload tmux configuration=
 +
Source: <ref name="Github-1" />
 +
 +
    tmux source-file ~/.tmux.conf
    
=References=
 
=References=
 
<references />
 
<references />

Navigation menu