943 bytes added ,  13 September 2023
m
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
= keyboard shortcuts =
= keyboard shortcuts =


I haven't had time to differentiate between when tmux or screen is used here.  I've just continued to add this page over time without considering when I'm using screen or tmux and whether or not I have the function keys disabled for whatever reason. Some may not work due to some specific configuration idiosyncrasy with your distribution or the package.  Some keybindings are definitely deprecated or no longer valid, but I've kept them here because I haven't been able to check against the "official" version yet.  Use at your discretion.


== Basic ==
== Basic ==


<code>F2</code> or <code>Ctrl + a</code> <code>c</code> - Create a new session
<code>F2</code> or <code>Ctrl + a + c</code> - Create a new session


<code>F3</code> or <code>Ctrl + a</code> <code>Ctrl + a</code> - Go back to the previous session
<code>F3</code> or <code>Ctrl + a + a</code> - Go back to the previous session


<code>F4</code> - Go to the next session
<code>F4</code> or <code>Ctrl + a + n</code> - Go to the next session


<code>F7</code> - Scrollback/search mode (Press Enter to exit)
<code>F7</code> or <code>Ctrl + a + [</code> - Scrollback/search mode (Press Enter to exit)


<code>F8</code> or <code>Ctrl + a</code> <code>A</code> - Rename the screen
<code>F8</code> or <code>Ctrl + a + A</code> - Rename the screen
 
<code>F9</code> - Configuration menu


<code>F9</code> or <code>Ctrl + a + @</code> - Configuration menu


== Utility ==
== Utility ==


<code>F5</code> - Refresh all status notifications
<code>F5</code> or <code>Ctrl + a + R</code> - Refresh all status notifications


<code>F6</code> - Detach from the session and logout
<code>F6</code> or <code>Ctrl + a + d</code> - Detach from the session and logout


<code>Ctrl + a</code> <<code>0</code>-<code>9</code>> - Switch to screen #0-9 (quick toggle)
<code>Ctrl + a</code> <<code>0</code>-<code>9</code>> - Switch to screen #0-9 (quick toggle)
Line 29: Line 29:
<code>Ctrl + a</code> <code>\</code> - Kill all of the sessions and terminate
<code>Ctrl + a</code> <code>\</code> - Kill all of the sessions and terminate


<code>Ctrl + a</code> <code>~</code> - Copy buffer into an editor


== Split window management ==
== Split window management ==
Line 34: Line 35:
<code>Shift + F2</code> or <code>Ctrl + a</code> <code>|</code> - Split window horizontally
<code>Shift + F2</code> or <code>Ctrl + a</code> <code>|</code> - Split window horizontally


<code>Ctrl + F2</code> or <code>Ctrl + a</code> <code>S</code> - Split window vertically
<code>Ctrl + F2</code> or <code>Ctrl + a</code> <code>S</code> or <code>Ctrl + a</code> <code>%</code> - Split window vertically


<code>Shift + F5</code> - Collapse all splits
<code>Shift + F5</code> - Collapse all splits
Line 53: Line 54:


<code>Ctrl + a</code> <code>:resize min</code> - Minimize the height
<code>Ctrl + a</code> <code>:resize min</code> - Minimize the height


== Miscellaneous ==
== Miscellaneous ==
Line 65: Line 65:
<code>Ctrl + a</code> <code>:help</code> - Show screen keybindings (if using screen)
<code>Ctrl + a</code> <code>:help</code> - Show screen keybindings (if using screen)


<code>Ctrl + a + !</code> - Toggle f-key keybindings on
<code>Ctrl + a + $</code> - Show detailed status


== Possibly deprecated ==
== Possibly deprecated ==
Line 92: Line 95:
<code>Ctrl+a</code> <code>a</code> <code>c</code> - Create a new session
<code>Ctrl+a</code> <code>a</code> <code>c</code> - Create a new session


== links ==
= Links =


* https://gist.github.com/devhero/7b9a7281db0ac4ba683f (added on 2019-05-29)
* https://gist.github.com/devhero/7b9a7281db0ac4ba683f (added on 2019-05-29)
* http://aperiodic.net/screen/quick_reference
* http://aperiodic.net/screen/quick_reference
* https://gist.github.com/jshaw/5255721
* https://gist.github.com/jshaw/5255721
== Terminal Multiplexers ==
* https://linuxcommand.org/lc3_adv_termmux.php
* [[Screen]]