- or download this
vi file.txt
vim file.txt
- or download this
gg goes to top of file. NNgg goes to line NN. NN means an integer
+OK?
...
Note Backspace will more you backwards (ie navigates but no deletion i
+n nav mode) but
DEL deletes as normal (ie no navigation stuff disappears). GOK.
- or download this
:w writes file
:w! writes file even if read only
...
ie !./script while you are editing 'script' it will exec
+it.
hit enter to return to vi as prompted, else type more com
+mands.....
:%perldo s/this/that/ execs that perl s///
- or download this
a Insert after the current cursor pos
A Insert after the end of current line
i Insert before the current cursor pos
I Insert at the begining of the current line