View Single Post
Old 07-28-02, 12:24 PM   #3
neutrino
Registered User
 
Join Date: Jul 2002
Location: heidelberg germany
Posts: 9
Send a message via ICQ to neutrino
Default how to use vim

if you just want to comment-out a line do this:

vim /path/file
go to the line with the cursor keys.
press "i" (to go to insertion mode)
type "#" (to comment out the line)
press "ESCAPE" (to go back to command mode)
type ":x" (to save and quit)

I hope this helps

neutrino
__________________
while(!asleep)
sheep++;
neutrino is offline   Reply With Quote