When I double click in gvim it causes the current word to be selected. However, by default, a 'word' excludes special characters. I would like, for example, to be able to double click on a UNIX or Windows path and have that whole path highlighted. Can I change what gvim considers to be a word?
By way of analogy, xterm takes a -cc, 'character class range' switch. Any contiguous characters in a given class are highlighted if I double-click on one of them. I can define a character class which includes alphanumerics and the forward-slash, so when I click on a UNIX path, it highlights that whole path. I'd like something similar in gvim.