74231Re: copy a word without moving cursor
- Oct 4, 2006On 10/2/06, Charles E Campbell Jr <drchip@...> wrote:
> Osho GG wrote:Exactly what I want! Thanks!!
> > I am already putting this segment in much larger map that does other
> > things on "a contents. However, the way I currently do it has a
> > disadvantage that the cursor moves and then it moves back and then the
> > screen flashes - all for nothing really. "ayaw or "ayiw doesn't work
> > for me because it changes cursor position. So, I want a simple way to
> > find the word at the current cursor position.
> Its not 100% clear what you want; does
> :echo expand("<cword>")
> illustrate something like what you want?
> Chip Campbell
- << Previous post in topic Next post in topic >>