You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to have the ability to provide a custom prompt_parser to further customize this plugin. It'll be extra nice if the parser can return some extra arguments to be passed on to vimgrep_args
Example Use case:
I want to just type what i want into the field and not think about quotes and globs and break the flow when I'm in the middle of debugging something.
Here's my test implementation of prompt_parser. Probably buggy and misses some corner cases but I used it on a whole day of work and it seemed fine.
I'll add the ability to escape / and starting - in the future.
Maybe we can have this kind of 'quoteless mode' as a feature on the plugin.
I would like to have the ability to provide a custom
prompt_parser
to further customize this plugin. It'll be extra nice if the parser can return some extra arguments to be passed on tovimgrep_args
Example Use case:
I want to just type what i want into the field and not think about quotes and globs and break the flow when I'm in the middle of debugging something.
Here's my test implementation of
prompt_parser
. Probably buggy and misses some corner cases but I used it on a whole day of work and it seemed fine.I'll add the ability to escape
/
and starting-
in the future.Maybe we can have this kind of 'quoteless mode' as a feature on the plugin.
Demo:
demo.mp4
Example implementation:
I'm not sure if it's a good idea to do it like this, but just wanted to test the functionality, here's the PR: #52
The text was updated successfully, but these errors were encountered: