-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extend usage of telescope-rg
#14
Comments
I really like this 👍 Maybe I will add some functions that can be used for personal mappings. |
Lets start simple: #23 (will add the others soon) Is that something you would expect? I don't want to set up mappings by default. That should be done by the user. |
This comment was marked as resolved.
This comment was marked as resolved.
@weeman1337 It looks good, its up to you what to do this I just shared my config. @gegoune You can look at the 3rd feature. |
#23 is ready to be merged. It provides shortcuts for grep word under cursor and grep with visual selection. Would be great is someone can test the branch. |
@weeman1337 I have tested both shortcuts (and with postfix) - all works great so far. Thank you so much, it simplifies my config. :) |
Description
Hey, first I want to thank thanks for developing this plugin I'm a daily-heavy user of it.
I have create some "features" with/for
telescope-rg
that the community might like to use. I was wondering if you would like to add those features as part of the plugin or as advanced configuration or something like that.Feature overview
live_grep
with current word under cursorlive_grep
with text captured with move operatorlive_grep
from visual mode with selected textlive_grep
with filter to search files in the directory of the bufferlive_grep
fromnvim-tree
, search in the directory that was selectedHow I Implemented the Features
Helper functions
Open
live_grep
with current word under cursorOpen
live_grep
with text captured with move operatorOpen
live_grep
from visual mode with selected textOpen
live_grep
with filter to search files in the directory of the bufferOpen
live_grep
fromnvim-tree
, search in the directory that was selectedThe text was updated successfully, but these errors were encountered: