Screen - terminal multiplexer cheat sheet Oct 22 2023

The following is a short list of the most common keybindings for the screen terminal multiplexer.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|-------------------------------|-----------------------------------------------------------------|
| Command                       | Description                                                     |
|-------------------------------|-----------------------------------------------------------------|
| C-a ?                         | Get the screen help, and shows some keybidnings                 |
| C-a c                         | Create a new window                                             |
| C-a n                         | Switch to the next window                                       |
| C-a p or Ctrl-a -             | Switch to the previous window                                   |
| C-a 0 to C-a 9                | Switch to window number 0-9                                     |
| C-a C-a                       | Toggle between the current and last window                      |
| C-a A                         | Rename the current window                                       |
| C-a w or C-a "                | Show a list of windows                                          |
| C-a <Space>                   | Switch to the next region                                       |
| C-a <Backspace>               | Switch to the previous region                                   |
| C-a <Tab>                     | Move to the next region                                         |
| C-a S                         | Split display horizontally                                      |
| C-a | or C-a V                | Split display vertically                                        |
| C-a Q                         | Close all regions except the current one                        |
| C-a X                         | Close the current region                                        |
| C-a \                         | Close current session                                           |
| C-a :resize                   | Resize region                                                   |
| C-a :fit                      | Resize window to fit the terminal size                          |
| C-a :layout save <name>       | Save current layout as <name>                                   |
| C-a :layout load <name>       | Load layout named <name>                                        |
| C-a :layout next              | Load next layout                                                |
| C-a :layout prev              | Load previous layout                                            |
| C-a :layout title <title-name>| Set the title of the current layout to <title-name>             |
|-------------------------------|-----------------------------------------------------------------|

** If you want to check what else I'm currently doing, be sure to follow me on twitter @rderik or subscribe to the newsletter. If you want to send me a direct message, you can send it to derik@rderik.com.