Action |
Keys |
up,down,left,right |
k,j,h,l |
top of buffer |
gg |
bottom of buffer |
G |
beginning of line |
0 |
first char of line |
^ |
end of line |
$ |
goto line N |
SPC y N |
goto line |
SPC y |
start of next word |
w |
end of current word |
e |
Action |
Keys |
first char search |
SPC SPC |
start search |
/ |
next match |
n |
previous match |
N |
goto corresponding (, {, [ |
% |
next occurrence of word |
* |
prev occurrence of word |
# |
| Action | Keys |
|------------------------------+-------------|
| replace character | r |
| insert mode | i |
| append mode | a |
| insert at start of line | I |
| insert at end of line | A |
| delete character | x |
| open new line below | o |
| open new line above | O |
| delete to end of line | d$ |
| delete to end of word | de |
| delete to start of next word | dw |
| delete current line | dd |
| replace current word | ciw |
| replace to end of word | cw |
| yank current selection | y |
| paste | p |
| undo | u |
| redo | C-r |
Action |
Keys |
initial expand |
SPC v |
expand more |
v |
select within () |
vi( |
select () |
va( |
Action |
Keys |
my helm buffers |
SPC bb |
save buffer |
SPC fs |
open file |
SPC ff |
| Action | Keys |
|------------------------+------------|
| repeat last command | . |
| repeat command N times | N |
| un/comment region | M-; |
| Action | Keys |
|------------------------+------------|
| discard | x |