On 11/13/05, Ralph Shumaker <[EMAIL PROTECTED]> wrote:
> 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.

Maybe 'it' refers to all of the different programs that all
more-or-less use the same set of "vi" commands.

You might want to read  "man less" and look at the "-w" option.
       -w or --hilite-unread
              Temporarily highlights the first "new"  line  after  a  forward
              movement  of  a  full  page.   The first "new" line is the line
              immediately following the line previously at the bottom of  the
              screen.   Also  highlights  the target line after a g or p com-
              mand.  The highlight is  removed  at  the  next  command  which
              causes movement.  The entire line is highlighted, unless the -J
              option is in effect, in which case only the  status  column  is
              highlighted.

    carl
--
    carl lowenstein         marine physical lab     u.c. san diego
                                                 [EMAIL PROTECTED]


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

Reply via email to