According to ":help pattern", a word character is defined as [0-9A-Za-z]. When I press # or *, the search pattern becomes \<WordUnderCursor\>. The word WordUnderCursor highlights on all windows except for the netrw window (where there is a file named WordUnderCursor.m). However, if I remove the anchors to the beginning and end of the word in the search pattern, WordUnderCursor becomes highlighted in the netrw window. I did not think that netrw redefined some setting representing word characters (e.g, perhaps isword) to include the dot in WordUnderCursor.m, and I confirmed that there is not isword option.
How does netrw prevent \<WordUnderCursor\> from matching WordUnderCursor.m, and is there a way to prevent this prevention?
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Thursday, December 5, 2013
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment