1,203 bytes added ,  9 August 2019
→‎links: new link to key bindings
Line 1: Line 1:
= keyboard shortcuts =
= keyboard shortcuts =


<code>F9</code> - Configuration menu


<code>Alt + F5</code> - Toggle UTF-8
== Basic ==
 
<code>F2</code> or <code>Ctrl + a</code> <code>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>F4</code> - Go to the next session


<code>Shift + F2</code> or <code>Ctrl + a</code> <code>|</code> - Split screen horizontally
<code>F7</code> - Scrollback/search mode (Press Enter to exit)


<code>Ctrl + F2</code> or <code>Ctrl + a</code> <code>%</code> - Split screen vertically
<code>F8</code> or <code>Ctrl + a</code> <code>A</code> - Rename the screen


<code>Ctrl + a</code> <code>:resize-pane -L 20</code> - Resize increase left of current window pane by 20 units (other available ones are -D, -R, -U)
<code>F9</code> - Configuration menu


<code>Ctrl + a</code> <code>Tab</code> - Next to the next screen in a split screen


<code>F2</code> or <code>Ctrl + a</code> <code>c</code> - Create a new window
== Utility ==


<code>F8</code> or <code>Ctrl + a</code> <code>A</code> - Rename the screen
<code>F5</code> - Refresh all status notifications


<code>F3</code> or <code>Ctrl + a</code> <code>Ctrl + a</code> - Go back to the previous window
<code>F6</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 23: Line 27:
<code>Ctrl + a</code> <code>"</code> - View a list of the current screens, which will allow you to select one from the list
<code>Ctrl + a</code> <code>"</code> - View a list of the current screens, which will allow you to select one from the list


<code>Ctrl + a</code> <code>'</code> - Enter a screen number to switch to (slower version of Ctrl+a <0-9>)
<code>Ctrl + a</code> <code>\</code> - Kill all of the sessions and terminate
 
 
== Split window management ==
 
<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>Shift + F5</code> - Collapse all splits
 
<code>Ctrl + a</code> <code>Tab</code> - Focus on the next window
 
<code>Ctrl + a</code> <code>X</code> - Close the current window
 
<code>Ctrl + a</code> <code>:resize +N</code> - Increase the height
 
<code>Ctrl + a</code> <code>:resize -N</code> - Decrease the height
 
<code>Ctrl + a</code> <code>:resize N</code> - Set height
 
<code>Ctrl + a</code> <code>:resize =</code> - Make all windows equally high
 
<code>Ctrl + a</code> <code>:resize max</code> - Maximize the height
 
<code>Ctrl + a</code> <code>:resize min</code> - Minimize the height
 
 
== Miscellaneous ==
 
<code>Ctrl + a</code> <code>x</code> - Lock the terminal


<code>Ctrl + a</code> <code>d</code> - Detach the whole screen session and fork to the background. Very useful for remote sessions you want to leave open. The command "screen -r" will resume your screen session.
<code>Ctrl + a</code> <code>d</code> - Detach the whole screen session and fork to the background. Very useful for remote sessions you want to leave open. The command "screen -r" will resume your screen session.


<code>Ctrl + a</code> <code>Esc</code> - Scroll up through your command line "history" and see what output you previously got. Hitting <Escape> again cancels it.
<code>Ctrl + a</code> <code>Esc</code> - Scroll up through your command line "history" and see what output you previously got. Hitting <Escape> again cancels it.
<code>Ctrl + a</code> <code>:help</code> - Show screen keybindings (if using screen)
== Possibly deprecated ==
<code>Shift + F3</code> - Focus on next split
<code>Shift + F4</code> - Focus on previous split
<code>Shift + F6</code> - Detach from the session, but do not logout
<code>Ctrl + a</code> <code>:resize-pane -L 20</code> - Resize increase left of current window pane by 20 units (other available ones are -D, -R, -U)


<code>Ctrl + a</code> <code>:clear-history</code> - clear history in the viewing buffer
<code>Ctrl + a</code> <code>:clear-history</code> - clear history in the viewing buffer
== Untested ==
<code>Alt + F5</code> - Toggle UTF-8
<code>Ctrl + F5</code> - Reconnect any SSH/GPG sockets or agents


=== Nested remote session ===
=== Nested remote session ===