Command Chars | Description |
Escape | switch to command mode |
Nh | cursor N chars to the left, default one char |
Nj | cursor N lines downward, default one line |
Nk | cursor N lines upward, default one line |
Nl | cursor N chars to the right, default one char |
mk | move line up |
mj | move line down |
ck | copy line up |
cj | copy line down |
w | cursor to next word forward |
b | cursor to previou word back |
$ | cursor to line end |
^ | cursor to line start |
f | find char within line forward |
F | find char within line back |
/{pattern} | search forward for the Nth occurrence of {pattern} |
n | forward increment search |
N | back increment search |
G | cursor to first line |
gg | cursor to first line |
gf | start editing the file whose name is under the cursor |
ga | print ascii value of character under the cursor |
g8 | print hex value of bytes used in UTF-8 character under the cursou |
g~~ | |
guu | make text line lowercase |
gUU | make text line uppercase |
~ | switch case of character under the cursor |
>> | shift Nchars rightwards |
<< | shift Nchars leftwards |
C | change to the end of line |
P | paste before |
D | delete to the end of line |
A | insert at end of line |
S | change current line |
:new | new or open file |
NG | cursor to line N |
p | paster texts from clipboard |
s | delete selected texts and switch to INSERT MODE |
x | delete char at cursor |
X | delete char before cursor |
dd | delete line |
J | joined next line |
u | undo |
db | delete word before cursor |
dw | delete word cursor |
diw | delete entire word at cursor |
daw | delete entire word at cursor |
d$ | delete chars from cursor to line end |
d^ | delete chars from cursor to line start |
yy | yank |
r{CHAR} | replace single char under cursor witch {CHAR} |
i | insert before cursor, switch to INSERT MODE |
a | insert back cursor, switch to INSERT MODE |
o | open new line below at current line |
Y | Show line numbers |
mp | paster texts from viex Rectangle clipboard |
Nh | same above |
Nj | ... |
Nk | ... |
Nl | ... |
gg | ... |
g | ... |
w | ... |
b | ... |
d | ... |
s | ... |
b | ... |
x | ... |
y | ... |
h | same above |
j | ... |
k | ... |
l | ... |
d | ... |
y | copy selected texts to viex Rectangle clipboard |
t | display editor navigator list popup |
b | display bookmark navigator list popup |
N | jump to N item |
q | close popup |
k | up in list popup |
j | down in list popup |
:w | |
:q! | |
:wq | |
CTRL+Y | redo, netbeans action |
CTRL+U | page up |
CTRL+Y | page down |