|
The vi editor
|
Previous Top Next |
|
ZZ<enter>
|
Save and Quit
|
|
:w<enter>
|
Save only
|
|
:qi<enter>
|
Quit without saving (hooo)
|
|
|
|
|
dd
|
Delete current line
|
|
yy
|
Copy the current line into the default buffer
|
|
xyy
|
Copy x lines into the default buffer
|
|
P
|
Insert the content of the default buffer
|
|
u
|
undo last command
|
|
/pattern
|
Search for pattern
|
|
Some of you might still remember, or use, the norton commander. Redhat 7 includes a nifty tool called Midnight Commander which can be launched by typing mc wherever you are. It looks almost 100% like the good old DOS Norton Commander but works on Linux as well! I found it to work quite reliable and I personally like the editor a lot.
|