132 lines
1.1 KiB
Text
132 lines
1.1 KiB
Text
|
|
||
|
*
|
||
|
* tutorial 1 FILENAME: 1basics
|
||
|
* basics
|
||
|
*
|
||
|
|
||
|
C-d down
|
||
|
C-u up
|
||
|
|
||
|
h left
|
||
|
j down
|
||
|
k up
|
||
|
l right
|
||
|
|
||
|
dd delete line
|
||
|
x x-out character
|
||
|
|
||
|
u undo
|
||
|
|
||
|
:q! force quit
|
||
|
ZZ good bye
|
||
|
|
||
|
o open
|
||
|
i insert
|
||
|
|
||
|
*
|
||
|
* tutorial 2 FILENAME: 2moving
|
||
|
* objects, finds & marks
|
||
|
*
|
||
|
|
||
|
w W word
|
||
|
b B back
|
||
|
e E end
|
||
|
|
||
|
{ } paragraph
|
||
|
( ) sentence
|
||
|
[ ] sections
|
||
|
|
||
|
$ end of line
|
||
|
^ first non-white
|
||
|
| column
|
||
|
0 beginning of line
|
||
|
|
||
|
f F find
|
||
|
t T to
|
||
|
; repeat fFtT
|
||
|
, reverse fFtT
|
||
|
|
||
|
G goto
|
||
|
|
||
|
H high
|
||
|
M middle
|
||
|
L low
|
||
|
|
||
|
n N next
|
||
|
? / regex
|
||
|
|
||
|
% match
|
||
|
|
||
|
' move to marked line
|
||
|
m mark
|
||
|
|
||
|
|
||
|
*
|
||
|
* tutorial 3 FILENAME: 3cutpaste & 3temp
|
||
|
*
|
||
|
* cutting, pasting, buffers, and files
|
||
|
*
|
||
|
|
||
|
d D deletes
|
||
|
y Y yank
|
||
|
p P put
|
||
|
" buffer
|
||
|
:e edit
|
||
|
|
||
|
*
|
||
|
* tutorial 4 FILENAME: 4inserting
|
||
|
* insertion
|
||
|
*
|
||
|
|
||
|
a A append
|
||
|
c C change
|
||
|
i I insert
|
||
|
o O open
|
||
|
r R replace
|
||
|
s S substitute
|
||
|
|
||
|
J join
|
||
|
|
||
|
*
|
||
|
* tutorial 5 FILENAME: 5tricks
|
||
|
* tricks
|
||
|
*
|
||
|
|
||
|
~ case
|
||
|
|
||
|
u U undo
|
||
|
|
||
|
. do again
|
||
|
|
||
|
C-b back
|
||
|
C-f forward
|
||
|
C-e down line
|
||
|
C-y up line
|
||
|
z zero
|
||
|
|
||
|
C-g status
|
||
|
C-l refresh
|
||
|
|
||
|
C-z suspend
|
||
|
|
||
|
C-t pop tag proposed
|
||
|
C-] follow tag proposed
|
||
|
|
||
|
! command
|
||
|
|
||
|
< > shift
|
||
|
|
||
|
*
|
||
|
* tutorial 6 PROPOSED
|
||
|
* commands from hell
|
||
|
*
|
||
|
|
||
|
: colon commands
|
||
|
Q quit
|
||
|
C-r redraw
|
||
|
@ execute buffer as macro
|
||
|
& like :&
|
||
|
|
||
|
C-t shift (insert)
|
||
|
C-d unshift (insert)
|