vi commands are available in more places than you might realize.  Ctrl-G,
and / are just two examples.

Even on the command line you can use ctrl-a, and ctrl-e to go to the
beginning and end of a line, which are emacs functions by default, but you
can set it to use vi options, if you prefer.

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Ralph Shumaker
> Sent: Tuesday, November 15, 2005 4:30 AM
> To: Main Discussion List for KPLUG
> Subject: Re: I hate "info" (and "man") (and love them too)
>
>
> Scott McClelland wrote:
>
> >I was refering to the subject - that you hate info and man.  I know that
> >sometimes you need more than the terse discription of the command, but I
> >meant that navigating is easier, if you know some shortcuts.
> >
> >
>
> Probably so.  But... ...vi commands?  I mean, really!  It's like coming
> to a  haystack covering an acre.
>
>
> >I find that when man doesn't have what I need, I look for an example
> >somewhere (maybe a HOWTO, or google, or a book), but it
> generally works as a
> >reminder for something you have used before, but don't remember
> it's syntax.
> >
> >
>
> That is perhaps the best description of "man" I have heard.  It is
> excellent for review, or for those who are familiar with how it presents
> ideas and such.  But it rather lacks on giving newcomers (to a
> particular command, or to "man" in general) an adequate leg up in many
> cases.
>
>
> >>-----Original Message-----
> >>From: [EMAIL PROTECTED]
> >>[mailto:[EMAIL PROTECTED] Behalf Of Ralph Shumaker
> >>Sent: Sunday, November 13, 2005 12:50 PM
> >>To: Main Discussion List for KPLUG
> >>Subject: Re: I hate "info" (and "man") (and love them too)
> >>
> >>
> >>Scott McClelland wrote:
> >>
> >>
> >>
> >>>You'll probably hate it less, if you start to use vi commands
> >>>
> >>>
> >>for searching.
> >>
> >>
> >>>G -- to go to the end of the document Capital-G
> >>>/ -- To find a word use /, n, N (slash followed by search word,
> >>>
> >>>
> >>n for next,
> >>
> >>
> >>>N for previous)
> >>>
> >>>e.g.
> >>>$ man ls
> >>>/color<enter>
> >>>
> >>>
> >>>
> >>>
> >>"/, n, N" are probably about 50% of the commands in vi that I already
> >>know.  I use them often in man.  I've been introduced to others but have
> >>forgotten the ones I don't use often (which is most of them).  But I
> >>don't think learning vi commands are going to help me much.  I'm not
> >>sure what you're referring to by "it" when you say "You'll probably hate
> >>'it' less..." since I talked about several different things that I hate.
> >>
>
>
> --
> [email protected]
> http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list


-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to