Skip to content

Latest commit

 

History

History
93 lines (54 loc) · 1.82 KB

Good_Tmux_Commands.md

File metadata and controls

93 lines (54 loc) · 1.82 KB

Good Tmux Commands

Created: July 31, 2022 5:09 PM Modified: March 8, 2023 12:54 AM

🎯 USE BetterTouchTool to customize more commands. 🎯 NOTE: Hold option to copy/select! ctrl + d to exit terminals

Note my prefix is ctrl + a (default is ctrl + b)

  • todo: tmux net speed (kinda interesting, and can specify specific interfaces)

https://github.com/tmux-plugins/tmux-net-speed

References

Tmux Cheat Sheet & Quick Reference

Plugins: https://github.com/tmux-plugins/tpm

synchronize panes

<prefix> then type `:setw synchronize-panes`

Swap panes, move it around prefix + {

toggle full-screen (zoom)

Note indicator in bottom right

ctrl +a + z

Untitled

Sessions

  • Rename session prefix + $

Window Management

  • prefix + c — create new window
  • , - rename window
  • w - list all windows
  • f - find window by name
  • . - move window to another session (promt)
  • :movew - move window to next unused number

Breakout pane into new window

prefix + ! — super handy

Rename windows (tabs at bottom) prefix + ,

or spell it out: tmux rename-session $(echo testsession)

cycle thru sessions

prefix + ) (and the other paren way)

Kill sessions

tmux kill-server — nuclear reset

prefix + shift + X — kill pane (bind-key X kill-pane)

resize panes

  • ctrl + o cycle clockwise
  • { — move pane clockwise.

Mouse works!

prefix + HOLD option + arrow arrow arrow (to iteratively expand! super nice)

Cycle thru windows

prefix + n / w — cycle forward and backwards

prefix + <window number> — switch to specific window