Skip to content

Instantly share code, notes, and snippets.

@miranda-zhang
Last active August 21, 2018 02:33
Show Gist options
  • Save miranda-zhang/c7bc36803c422c3e1c96f86a35c68974 to your computer and use it in GitHub Desktop.
Save miranda-zhang/c7bc36803c422c3e1c96f86a35c68974 to your computer and use it in GitHub Desktop.

Tmux

Ctrl+b = C-b

Ctrl+b " = Ctrl+b release, then press shift + '.

Splite pane

Ctrl+b " — split pane vertically.

Ctrl+b % — split pane horizontally.

Ctrl+b arrow key — switch pane. https://www.hamvocke.com/blog/a-quick-and-easy-guide-to-tmux/

resize pane

Hold Ctrl+b , don't release it and hold one of the arrow keys

scroll

Ctrl-b then [ https://superuser.com/a/209608

move pane

C-b { move the current pane to the previous position

C-b } move the current pane to the next position

C-b C-o rotate window ‘up’ (i.e. move all panes)

C-b Alt-o rotate window ‘down’ https://gist.github.com/andreyvit/2921703

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment