Dummkopf's guide to vim
Knapp
magick.crow at gmail.com
Wed Sep 3 17:28:08 UTC 2008
sudo vim <file-name>
dhtn keys more the cursor around and the arrow keys work too.
dd deletes current line
5dd deletes 5 lines including current line.
r<new charater> changes character under cursor
i enters edit mode. (edit mode is just like Kate)
esc exits edit mode
:wq (saves file and quits)
:w <new-file-name>
:q! quits no matter what is wrong, like an unsaved file.
I bet there is not much more that you do with Kate most of the time. Am I wrong?
For more check this out.
http://tips.webdesign10.com/another-vim-tutorial
--
Douglas E Knapp
http://sf-journey-creations.wikispot.org/Front_Page
More information about the kubuntu-users
mailing list