Open jjm469 opened 12 months ago
You can also create panes in a session and have more than one thing open for you to see.
For vertical split, you do ctrl+b+%
.
For horizontal split, you do ctrl+b+"
.
You move between panes by doing ctrl+b+arrow
.
You can also make more than one window in a session with ctrl+b+c. You move through the sessions with ctrl+b+(session #)
There's also a lot of tmux config stuff you can do to make usage easier.
// start a tmux session tmux new-session -s session_name
// attach to the most recently created session tmux attach
// Once in a session, you can run a program as normal. To detach from the session, press ctrl and b at the same time. Then, press d. You can now safely log off the server and your program will continue executing. When logging back into the server, run "tmux attach" again to access your most recently created session.
// Deleting a tmux session tmux kill-session -t session_name