Re: Defaulting "/" search string to current word
Hi,
The VI map I've used on some other applications (CodeWright comes to mind) default the "/" search string to the word that the cursor is currently on. That search string is "all highlighted" though so that any subsequent typing overwrites it instead of appends to it. So, except for attempting to search for nothing the behavior is completely compatible with other VI maps that don't have this behavior.
This is *really* handy because searching for more of what you already have the cursor on is a frequent use case. For example, searching for other occurrances of a variable or function name.
I've missed this now that I'm using ViEmu. If I want to search for more occurrances of the word my cursor is on I have to type "/" and the search string instead of just "/".
Is there another way to "search for what I'm on" in ViEmu that I just don't know about? Or, is there any interest in adding this feature to ViEmu?
Thanks,
Ryan