Tmux Keymap Cheatsheet: Josean Martinez’s Configuration

kazma 成大資安社 創辦人/社長

Tmux Keymap Cheatsheet

Install tpm

  • git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm

Keymap

Prefix

  • <ctrl>a
  • change <capsLock> to <ctrl>

New Session

  • tmux new -s <Name>

Detach

  • tmux detach

List

  • tmux ls to show all sessions
  • <prefix>s to show all sessions
  • <prefix>w to show all windows

Attach

  • tmux attach -t <Name> to attach to a specific session

Split

  • <prefix>| to split vertically
  • <prefix>- to split horizontally

Refresh

  • <prefix>r to refresh .tmux.conf

Resize

  • <prefix>h/j/k/l to resize panes
  • <prefix>m to maximize panes

Rename

  • <prefix>, to rename a window

Move

  • <ctrl>h/j/k/l to move between panes

New

  • <prefix>c to create a new window in current session

Copy Mode

  • <prefix>[ to enter copy mode
  • h/j/k/l to move
  • <shift>k/j to also move up and down
  • <ctrl>u/d to go half page up and down
  • <ctrl>b/f to go full page up and down
  • v to enter visual mode to select text
  • y to copy select text
  • <ctrl>c to exit copy mode
  • Title: Tmux Keymap Cheatsheet: Josean Martinez’s Configuration
  • Author: kazma
  • Created at : 2024-05-03 13:15:25
  • Updated at : 2024-05-03 14:58:57
  • Link: https://kazma.tw/2024/05/03/Tmux Keymap Cheatsheet: Josean Martinez’s Configuration/
  • License: This work is licensed under CC BY-NC-SA 4.0.
 Comments