Insh has terminal multplexing inspired heavily by tmux. The session, window, and pane concepts
are all borrowed. As is the usage of a prefix.
| Command | Status bar command | Description |
<Ctrl>-b % | split-vertically [component] [args]… | Split the current pane vertically. |
<Ctrl>-b " | split-horizontally [component] [args]… | Split the current pane horizontally. |
<Ctrl>-b + | split-quad [component] [args]… | Split the current pane horizontally and then vertically. |
<Ctrl>-b c | new-window [name] | Create a new window. |
| new-session [name] | Create a new session. |
<Ctrl>-b x | kill-pane [name] | Kill a pane (default current). |
| kill-window [name] | Kill a window (default current). |
| kill-session [name] | Kill a session (default current). |
<Ctrl>-b j | <Ctrl>-b <Down> | focus-down | Select the pane below the current pane. |
<Ctrl>-b k | <Ctrl>-b <Up> | focus-up | Select the pane above the current pane. |
<Ctrl>-b h | <Ctrl>-b <Left> | focus-left | Select the pane to the left of the current pane. |
<Ctrl>-b l | <Ctrl>-b <Right> | focus-right | Select the pane to the right of the current pane. |
<Ctrl>-b <Ctrl>-<Down> | resize-pane-down | Resize the pane downwards. |
<Ctrl>-b <Ctrl>-<Up> | resize-pane-up | Resize the pane upwards. |
<Ctrl>-b <Ctrl>-<Left> | resize-pane-left | Resize the pane left. |
<Ctrl>-b <Ctrl>-<Right> | resize-pane-right | Resize the pane right. |
<Ctrl>-b y | synchronize-panes | Synchronize panes. |
<Ctrl>-b z | toggle-zoom | Toggle zooming the current pane. |
<Ctrl>-b { | switch-pane-previous | Switch the current pane with the previous pane. |
<Ctrl>-b } | switch-pane-next | Switch the current pane with the next pane. |
<Ctrl>-b } | swap-pane | Swap two panes. |
| rename-pane | Rename the current pane. |
<Ctrl>-b , | rename-window | Rename the current window. |
<Ctrl>-b $ | rename-session | Rename the current session. |
| set-dir [–window | -w | –session | -s] <dir> | Set the default starting directory for a window/session (default window). |
| change-dir [–window | -w | –session | -s] <dir> | Change the directory for a window/session (default window). |
| dir [–window | -w | –session | -s] <dir> | A combination of set-dir and change-dir. |
<Ctrl>-b [ | change-mode copy | Enter copy mode |
<Ctrl>-b s | list-sessions | ls | View the session, window, and pane switcher. |
<Ctrl>-b : | change-mode prompt | Prompt for a command. |
| send-keys | Send keys to a pane. |
| detach | Detach from the current session. |
| Command | Description |
h | <Left> | Move the cursor left. |
j | <Down> | Move the cursor down. |
k | <Up> | Move the cursor up. |
l | <Right> | Move the cursor right. |
w | Move the cursor to the next word. |
W | Move the cursor to the next WORD. |
b | Move the cursor to the beginning of the word. |
B | Move the cursor to the beginning of the WORD. |
e | Move the cursor to the end of the word. |
E | Move the cursor to the end of the WORD. |
0 | <Home> | Move the cursor to the start of the line. |
$ | <End> | Move the cursor to the end of the line. |
gg | Move the cursor to the start of the buffer. |
G | Move the cursor to the end of the buffer. |
v | <Space> | Start selecting at the current cursor position. |
y | <Enter> | Copy the selection to the clipboard. |
<Escape> | Unselect. |
/ | Search. |
? | Search backwards. |
q | Exit out of copy mode. |
| Command | Description |
n | Go to the next hit. |
p | Go to the previous hit. |