Skip to content

[Question] When I Ctrl Click on a file name what is plugin is it using? #1440

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

Closed
jacob-haslam opened this issue Apr 2, 2025 · 2 comments
Closed

Comments

@jacob-haslam
Copy link

For example 'require("plugins.autopairs")', how can I change this behaviour so it does something else and which plugin is it using? Would also like to know what function its triggering so I can map it to a keyboard shortcut. Thanks in advance.

@theopn
Copy link
Contributor

theopn commented Apr 7, 2025

h <C-LeftMouse> shows that it is mapped to jump to the under the cursor.
You can remap <C-LeftMouse> to do something you want it to do.
For example, :nnoremap <C-LeftMouse> viw makes Ctrl click selects the word under the cursor.

@feoh
Copy link
Collaborator

feoh commented Apr 11, 2025

Please feel free to re-open this if @theopn's suggestion isn't a good fit!

@feoh feoh closed this as completed Apr 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants