Compatible with MacOS and both Ubuntu/Fedora based Linux distrobutions.
Keyboard Command |
Description |
i |
insert mode |
jk |
Exit insert mode |
h, j, k, l |
Left, down, up, right (Respectively) |
e |
Move forward by a word |
w |
Move back by a word |
yy |
Copies line to buffer |
dd |
Deletes line, stores line in buffer |
p |
Pastes contents stored in the buffer |
shift + v |
Visual mode, highlights entire line |
v |
Visual mode, highlights single character |
:vs |
Vertical split (filename optional) |
:sp |
Horizontal split (filename optional) |
Keyboard Command |
Description |
ctrl-a |
Redefined prefix command |
ctrl-a - |
Vertical window |
ctrl-a = |
Horizontal window |
ctrl-a [ |
Enters copy mode |
ctrl-a ] |
Paste copied text |
ts |
Create a tmux session |
ta |
Reattaches to a previous tmux session |
tk |
Kills tmux session |
tl |
Lists all current tmux sessions |
ctrl-a i |
Install addons using TPM |
ctrl-a y |
Copy text from tmux to system clipboard |