-
Notifications
You must be signed in to change notification settings - Fork 63
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
Allow triggering without trigger characters #61
Comments
It would be amazing if we could just trigger filepath completions without mandating a leading / or . just adding the entire alphabet to the trigger characters seems to not do the trick, though, I just tried that. I haven't had the chance to look into the lua-code more deeply, so @hrsh7th , if you have any pointers on how to fix that it would be very cool. :) |
when you look in to the source, the keyword pattern is also hard coded into a path regex. Changing the keyword pattern might not be possible with this plugin. I was trying to understand the regex for a while but i don't get it. I think we need the help of @hrsh7th for this. I'm also very keen on triggering path completion with just a shortcut and nothing else |
We would like to add an option to make the leading slash non-required. However, with my English skills, I can't think of a good option name. Any ideas? |
My intuition tells me that i would not want a new option for this. We already have If a new option is necessary, I would suggest to call it: |
any update on this? or any workarounds people have come up with? |
Ok this is weird. This PR from a couple years ago seems to do exactly what we all want... triggers the paths from starting quote (" or ') instead of requiring ./ or ../ I wonder what happened? did this decision get later reverted? |
Unfortunately no updates. I got used to trigger it with |
I would also be highly interested in this, but I can't get it to work with changing trigger characters sadly |
Thought i was the only one who disliked having to trigger it with |
i need this too |
i tried making other trigger characters like https://github.com/shurensha/cmp-path/blob/main/lua/cmp_path/init.lua |
I would like to be able to replace the default
<C-x><C-f>
with cmp with path source. However this will not trigger because of the currently configured trigger characters.Basically I would like to do something like:
However it does not seem to trigger, despite the empty
trigger_characters
The text was updated successfully, but these errors were encountered: