tmux intro:
https://www.youtube.com/watch?v=MGN5JcpC7e0
prefix key + command
example:
CTRL B + T -> shows time
CTRL B + % -> vertical split
CTRL B + ' -> horizontal split
CTRL B + > => navigate
CTRL B + ^ => navigate
CTRL B + c -> create window
CTRL B + p -> Previous window CTRL B + b -> Next window
CTRL B + s -> list all windows/panes.
CTRL B + d -> detach
CTRL B + x -> kill
// to attach back
tmux a -t 0
### Lines for ~/.tmux.conf file to change the prefix key from CTRL+B to CTRL+A
set -g prefix C-a
bind C-a send-prefix
unbind C-b
###
Useful Tmux cheatsheet : https://tmuxcheatsheet.com/
Ctrl-b then [ then you can use your normal navigation keys to scroll around (eg. Up Arrow or PgDn). Press q to quit scroll mode.
No comments:
Post a Comment