[Eug-lug] how do I get out of this?
larry price
laprice at gmail.com
Thu Nov 15 11:21:47 PST 2007
actually horst
the ! terminating the command instructs vi to quit immediately without
writing the file out.
//use vi, but only when trapped.
On Nov 15, 2007 9:53 AM, horst <horsu at freeshell.org> wrote:
> > Date: Thu, 15 Nov 2007 01:30:12 -0800
> > From: larry price <laprice at gmail.com>
> > Subject: Re: [Eug-lug] how do I get out of this?
> >
> > type
> >
> > [esc]
> > :
> > q
> > !
> >
> > that's one character to a line.
>
> Larry - I think emacs people shouldn't do vi posts past 1 in the morning :-)
>
> On a single line:
> !
> doesn't mean anything (as far as I know, or you have redefined the !-key,
> or...)
>
> :<cmd>!
> means ignore warning and do it anyway!
> (like :w! :x! as in write! --although file was opened as read-only)
> ( '<cmd>' meaning 'w' or 'x' )
>
> :!<cmd>
> means execute shell <cmd>
>
>
> Wes, BTW, my vi/vim's do provide you with a hint:
> " No write since last change (add ! to override) "
>
> - Horst
>
>
>
> _______________________________________________
> EUGLUG mailing list
> euglug at euglug.org
> http://www.euglug.org/mailman/listinfo/euglug
>
More information about the EUGLUG
mailing list