On Fri, Apr 21, 2006 at 11:18:23PM -0600, Eric Arnold wrote:
> One thing that's occasionally driving me nuts is that when I move to
> a tag, and it lands on the end of a tag, i.e. the final "|" in
> |some_tag|, then use ^} it always says no "no identifier under
> cursor".
>
> I assume this is because I'm using MSwin, which has :behave mswin
> set, which uses "exclusive" rather than "inclusive" keyword selection.
> I can't find out where to override this while keeping the other
> "mswin" behavior.
>
> BTW, why is it important for the "mswin" behavior to use "exclusive"?
> It would seem nice to have it "inclusive".
You can try putting
set selection=inclusive
after the "behave mswin" or "source $VIMRUNTIME/mswin.vim" line in your
vimrc file. If you are lucky, none of the side effects will bother you.
OTOH, I am not sure it will solve your problem with help tags.
Whenever I try to jump to a tag with the cursor on the trailing | I go
to the help for the next "word" after the cursor, even though I have
'selection' set to "inclusive".
HTH --Benji Fisher