Add flags ala fnr
lydell opened this issue · 1 comments
lydell commented
It would be really cool if you could press <tab>
will searching to get a “flags area” to the left of the /
in the command line like in FNR. I suggest the following flags:
z
: Toggle fuzzy search.r
: Toggle regex search (on by default) (this includes implementing a “literal” mode).w
: Toggle word-boundary matching (off by default) (wraps the search in\<
and\>
).v
: Toggle “very magic” mode (off by default) (prepends\v
).
Mockup: (zrwv) /search_term
.
junegunn commented
Thanks. Good points. But I'm currently not interested in further extending vim-oblique as the code complexity is already unwieldy. I didn't see it coming when I started the project but over the time I realized that reinventing /
-search is really not something one can take lightly.