[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [vile] under-cursor
From: |
Wayne Cuddy |
Subject: |
Re: [vile] under-cursor |
Date: |
Fri, 22 Mar 2013 20:05:20 -0400 |
User-agent: |
Mutt/1.4.2.3i |
On Fri, Mar 22, 2013 at 06:32:11PM -0400, Thomas Dickey wrote:
> On Fri, Mar 22, 2013 at 12:41:52PM -0400, Wayne Cuddy wrote:
> > On Thu, Mar 21, 2013 at 07:08:52PM -0400, Thomas Dickey wrote:
> > >
> > > Since it's a writable mode, you could in principle redefine it. The only
> > > gotcha is that it starts from the current position, so you would get
> > > interesting matches.
> >
> > I'm not sure I understand the implications of this comment. It starts
> > from the current position right now correct? So the behavior would be
> > the same I think.
>
> yes - I was partly thinking aloud, trying to recall which uses would
> search back to the beginning of the word (tags do). It might be nice
> to have the option to use that behavior in macros.
Indeed it would, I find that 99% of time I'd prefer that behavior. I
think it's rare to be searching for a half word.
>
> > I was kinda hoping for the ability to map another key that calls another
> > function that uses a different delimiter variable so I had the option to
> > use both. I suppose I could dynamically reassign the variable in a
> > function? I guess I was assuming that "the word under the cursor" was
>
> yes - the binding for ^X-, maps to a macro for instance (next-cur-identifier).
>
> > identified according the vi's motion command 'w' and I was looking for
> > something to be picked up similar to the 'W' motion command. But looking
> > at the help file has cleared things up.
> >
> > Thanks
>
> no problem
>
> --
> Thomas E. Dickey <address@hidden>
> http://invisible-island.net
> ftp://invisible-island.net
> _______________________________________________
> vile mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/vile