Re: A83: OT: emacs...


[Prev][Next][Index][Thread]

Re: A83: OT: emacs...




ehm.. you have misunderstood what is commandmode, and what is editmode.
when you start it up, you are in commandmode, and can giv it commands as x, dd,
and stuff. if you want to give it longer commands, you press : and get your
commandline, where you can write commands, that is almost like small scripts.
to enter editmode, you press something like i, a, or A (insert, append, append
at end of line) and you get into editmode, where you type into the document.
then you press ESC to get back to commandmode again.

//Olle

Scott Dial wrote:
> 
> It is possible to do do the commands that are used in command mode while
> your are in edit mode... Hit [Shift]+: and it brings up a command line,
> make sure you aren't typing into the document when you do it, otherwise
> hit [ESC] and do it.
> 
> Olle Hedman wrote:
> > if you are in edit-mode, go to command-mode with esc. then write :q to quit, :q!
> > to force quit (without save) and :x to exit with save.
> > The thing most people have problems with in vi, is the concept of two modes,
> > edit-mode and command-mode.
> 
> --
> Scott "_Wrath_" Dial
> wrath@calc.org
> ICQ#3608935
> TimeCity Co-Lead Developer, AI - www.timecity.org
> Member of TCPA - tcpa.calc.org
> __________________________________________
> NetZero - Defenders of the Free World
> Get your FREE Internet Access and Email at
> http://www.netzero.net/download/index.html


References: