Tmux

Submitted by code_admin on Fri, 01/18/2019 - 08:59

Tmux

Prefix is ctrl + b

prefix -> c - new window
prefix -> w - choose from list of windows

prefix -> " - split horirzontally
prefix -> % - split vertically

prefix -> arrow - switch pane

prefix -> [ to go into copy mode, use arrows or page up and down, then use q to exit

Auto Launch stuff

  1. tmux \
  2.   new-session  "cd ./services ; ./run_app_developer.sh" \; \
  3.   split-window "cd ./frontend ; quasar dev" \; \
  4.   split-window "cd ./adminfrontend ; quasar dev" \; \
  5.   select-layout main-horizontal

ref: https://www.linode.com/docs/networking/ssh/persistent-terminal-sessions…

RJM Article Type
Quick Reference