47 lines
780 B
Plaintext
47 lines
780 B
Plaintext
DegVi - Degraded vi like text editor
|
|
By Aki Goto <tyatsumi@gmail.com>
|
|
Placed in the public domain
|
|
|
|
Usage: degvi [FILENAME]
|
|
|
|
Available commands on command mode
|
|
|
|
:q : quit
|
|
:w : save
|
|
:wq : save and quit
|
|
|
|
Ctrl-L : repaint
|
|
|
|
i : insert
|
|
a : insert after
|
|
I : insert at head
|
|
A : insert at tail
|
|
o : open line
|
|
O : open previous line
|
|
|
|
x : delete character
|
|
dd : delete line
|
|
J : join lines
|
|
yy : copy line
|
|
p : paste
|
|
P : paste above
|
|
|
|
0 : move to head of line
|
|
$ : move to tail of line
|
|
G : move to bottom line
|
|
1G : move to top line
|
|
10G : move to 10th line
|
|
h : move left
|
|
j : move down
|
|
k : move up
|
|
l : move right
|
|
|
|
ZZ : save and quit
|
|
|
|
Available commands on insert mode
|
|
|
|
Esc : return to command mode
|
|
BackSpace or Del : delete previous character
|
|
Enter : add newline
|
|
other character : add that character
|