tmux: Difference between revisions

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
m smw
No edit summary
Line 8: Line 8:


Hotkeys:
Hotkeys:
* [ctrl]-b - trigger key
* <code>[ctrl]-b</code> - trigger key
* [ctrl]-b d - detach
* <code>[ctrl]-b d</code> - detach
* tmux attach - attach
* <code>tmux attach</code> - attach
* [ctrl]-b [ - enable scrollback mode
* <code>[ctrl]-b [</code> - enable scrollback mode
* [ctrl]-c - clear scrollback
* <code>[ctrl]-c</code> - clear scrollback
* <code>SHIFT-click</code> to select stuff
* split the pane:
** <code>[ctrl]-B "</code> for horizontal split
** <code>[ctrl]-B %</code> for vertical split
** <code>[ctrl]-B {{arg|arrow keys}}</code> switches between panes
 
==Links==
==Links==
* [https://www.tmuxcheatsheet.com/ Tmux Cheat Sheet & Quick Reference]
* [https://www.tmuxcheatsheet.com/ Tmux Cheat Sheet & Quick Reference]

Revision as of 20:09, 10 September 2020

<hide> software type::virtual console </hide>

  1. redirect Template:seed

Notes

tmux is a slightly fancier virtual console (like screen).

Hotkeys:

  • [ctrl]-b - trigger key
  • [ctrl]-b d - detach
  • tmux attach - attach
  • [ctrl]-b [ - enable scrollback mode
  • [ctrl]-c - clear scrollback
  • SHIFT-click to select stuff
  • split the pane:
    • [ctrl]-B " for horizontal split
    • [ctrl]-B % for vertical split
    • [ctrl]-B Template:Arg switches between panes