Closed vi closed 12 years ago
2 moved to #42. vi, add themselves as watcher for it
Shortcuts are Ctrl+< Ctrl+>
Seems working, waiting for highlighting of this and other search results in visible part of file.
Maybe there should also be Ctrl+Shift+> and Ctrl+Shift+< to searching for bigger things - with [-_/\:\'[]"&^\%\$#\@!`~], but not [\ (){}\n] being parts of word (somewhat like "w" and "W" in Vim)? Actually it will be good to have configurable regex for Ctrl+Shift+> and programming_languate-defined regex for Ctrl+>.
Why do you need Ctrl+Shift+<>
and configurable regex?
I don't want to have too many features. It would be difficult to remember and use it.
Maybe not really needed; I'm just thinking up features and proposing them. At least Ctrl+Shift+< is obviously a low prio.
In the latest version I already see the highlighting of other occurrences, but not when using Ctrl+<. I think the highlight should also be active for "Search word under cursor" feature while "Match X of N" label is visible.
I opened #52
Enki should support quick way to search current work forward and backward (like '*' and '#' in Vim). What is a word should depend on current syntax highlight mode, defaulting to what is \b in regexes.