[Novalug] how do you get out of visudo

Matt Ahrens matt.ahrens@gmail.com
Tue Dec 2 22:13:50 EST 2008


Make sure you're in command mode by hitting escape. If you're in
editing mode via a command such as i, you won't be able to send
commands to vi.

Other fun and useful vi commands include

Search (/searchtext)
Undo (u)
Jump to end of line ($)
Copy line (yy)
Paste (p)
Redo last command (.)


Matt



On 12/2/08, Nino Pereira <pereira@speakeasy.net> wrote:
> Hi,
>
> I almost never use vi, or vim, or visudo. So, I continually
> forget how to store what you have just edited.
>
> I did vaguely remember that you can start editing in vi or
> its analogues when you do 'i'. And, there's also a command
> 'ZZ'. But, how do you get out of vi or vim or visudo?
>
> Nino
> _______________________________________________
> Novalug mailing list
> Novalug@calypso.tux.org
> http://calypso.tux.org/cgi-bin/mailman/listinfo/novalug
>

-- 
Sent from Gmail for mobile | mobile.google.com



More information about the Novalug mailing list