Skip to content

Instantly share code, notes, and snippets.

@grisevg
Created June 2, 2015 20:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save grisevg/9b795a63fa44cabfaf1d to your computer and use it in GitHub Desktop.
Save grisevg/9b795a63fa44cabfaf1d to your computer and use it in GitHub Desktop.
Shortcuts

URL: http://www.bigsmoke.us/readline/shortcuts

  • Ctrl-A: go to the beginning of line,
  • Ctrl-E: go to the end of line,
  • Alt-B: skip one work backward,
  • Alt-F: skip one word forward,
  • Ctrl-U: delete to the beginning of line,
  • Ctrl-K: delete to the end of line,
  • Alt-D: delete to the end of word.
  • Ctrl-r: Incrementally search the line history ⇧ backwardly
  • Ctrl-s: Incrementally search the line history ⇩ forwardly
  • Ctrl-J: End an incremental search
  • Ctrl-G: Abort an incremental search and restore the original line
  • Ctrl-_, Ctrl-x, Ctrl-u Undo the last editing command; you can undo all the way back to an empty line
  • Alt-r: Undo all changes made to this line
  • Ctrl-l: Clear the screen, reprinting the current line at the top

URL: https://gist.github.com/MohamedAlaa/2961058

Sessions

  • :new<CR> - new session
  • s - list sessions
  • $ - name session

Windows

  • c - new window
  • w - list windows
  • f - find window
  • , - name window
  • & - kill window

Panes

  • % - vertical split
  • " - horizontal split
  • o - swap panes
  • q - show pane numbers
  • x - kill pane
  • space - toggle between layouts
  • { - (Move the current pane left)
  • } - (Move the current pane right)

Extra

  • z - toggle pane zoom
  • d - detach
  • t - big clock
  • ? - list shortcuts
  • : - prompt
  • ~ - history of tmux messages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment