Another Chapter in the vi vs. emacs War

Rick Bowers rwbowers at gmail.com
Mon Feb 4 19:13:07 PST 2008


At Monday 2/4/2008 07:15 PM, you wrote:
>On Feb 4, 2008 10:19 AM, Rick Bowers <rwbowers at gmail.com> wrote:
> > At Monday 2/4/2008 08:54 AM, you wrote:
> > >On Feb 4, 2008 1:46 AM,  <kwall at kurtwerks.com> wrote:
> > > > http://xkcd.com/378/
> > > >
> > > > The nice thing about Linux is that I can (and do) use both.
> > >
> > >I haven't yet grown that required third hand to properly use emacs
> > >(eight-hundred megs and constantly swapping), so I stick to vi
> > >(nvi|vim).
> > >
> > >But I do like the chaos editor (aka butterfly).
> > >
> > >Ciao,
> > >
> > >David A. Bandel
> > >--
> >
> > I've used both VI and EMACS for many years. I mostly use VI these
> > days, but still haven't figured out if/how VI does macros. In EMACS,
> > it's Meta-( <a bunch of commands> Meta-)
> > Then I can Meta-X or ESC<numeric value>Meta-X (or is that
> > Meta-<numeric value>) ?
> >
> > Anyone know the VI equivalent?
> >
>
>In normal mode (key Esc to enter normal mode: may take more than one!):
>   key 'q' <-- start macro definition
>   key <register> <-- a register to store the macro in, try 'a'
>   key <what you want to repeat>
>   key 'Esc q' <-- Esc to enter normal mode; 'q' to end the macro
>
>To run the macro:
>   @<register> <-- example: @a
>
>In normal mode:
>   key ':help q'

Thanks.  Can I assume "key" means "type the following"? Or does it 
mean something else?

~Rick


> > ~Rick
> >
> > >Focus on the dream, not the competition.
> > >             - Nemesis Air Racing Team motto
> > >_______________________________________________
> > >Linux-users mailing list ( Linux-users at linux-sxs.org )
> > >Unsub/Password/Etc:
> > >http://mail.linux-sxs.org/mailman/listinfo/linux-users
> > >
> > >Need to chat further on this subject? Check out #linux-users on
> > >irc.linux-sxs.org !
> >
> > _______________________________________________
> > Linux-users mailing list ( Linux-users at linux-sxs.org )
> > Unsub/Password/Etc:
> > http://mail.linux-sxs.org/mailman/listinfo/linux-users
> >
> > Need to chat further on this subject? Check out #linux-users on 
> irc.linux-sxs.org !
> >
>
>
>
>--
>I have seen the future and I'm not in it!
>_______________________________________________
>Linux-users mailing list ( Linux-users at linux-sxs.org )
>Unsub/Password/Etc:
>http://mail.linux-sxs.org/mailman/listinfo/linux-users
>
>Need to chat further on this subject? Check out #linux-users on 
>irc.linux-sxs.org !




More information about the Linux-users mailing list