Byobu: Difference between revisions

From Han Wiki
Jump to navigation Jump to search
→‎keyboard shortcuts: add more commands for split windows
Line 5: Line 5:
<code>Ctrl+a</code> <code>%</code> - Split screen vertically
<code>Ctrl+a</code> <code>%</code> - Split screen vertically


<code>Ctrl+a</code> <code>:resize-pane -L 20</code> - Resize increase left of current window pane by 20 units
<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>Tab</code> - Next to the next screen in a split screen
<code>Ctrl+a</code> <code>Tab</code> - Next to the next screen in a split screen

Revision as of 22:04, 20 December 2018

keyboard shortcuts

Ctrl+a | - Split screen horizontally

Ctrl+a % - Split screen vertically

Ctrl+a :resize-pane -L 20 - Resize increase left of current window pane by 20 units (other available ones are -D, -R, -U)

Ctrl+a Tab - Next to the next screen in a split screen

Ctrl+a c - Create a new window

C-a A - Rename the screen

C-a C-a - Go back to the previous window

C-a <0-9> - Switch to screen #0-9 (quick toggle)

C-a " - View a list of the current screens, which will allow you to select one from the list

C-a ' - Enter a screen number to switch to (slower version of C-a <0-9>)

C-a d - 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.

C-a <Escape> - Scroll up through your command line "history" and see what output you previously got. Hitting <Escape> again cancels it.

Ctrl+a : clear-history - clear history in the viewing buffer

links

http://aperiodic.net/screen/quick_reference