Re: 2 questions
- On 09/06, Cory T. Echols wrote:
> :execute "/"c_wordI guess I should have experimented more before posting this. However,
> Unfortunately, <cword> seems to always expand such that it has a space
> in front of the alphanumeric characters (in 6.0au, anyhow). I haven't
> looked at the docs very closely, so I don't know if this is correct
> behavior or not. It certainly wasn't what I was expecting or wanting in
> this situation, though.
the unexpected behavior was not due to erroneous expansion of <cword>.
Rather, I had given you the wrong form of the :execute command. You
should use the following:
Notice the dot before c_word. The dot is the string concatenation
Cory T. Echols