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
Is your feature request related to a problem? Please describe.
No.
Describe the solution you'd like
I'd like to be able to from a given telescope picker, be able to open a preview, without actually having a definition to go to.
The workflow would look something like this:
I'm in a file, I remember I need to change something in another file that doesn't necessarily have a direct connection to my current file. I however don't want to lose the context in my brain for the current file, I just want to open a goto-preview window for a given file and make my quick change from that window, save, close the preview then go right back to my current file and keep doing what I was doing before.
Describe alternatives you've considered
N/A
Additional context
Ideally this wouldn't require major integration with specific telescope pickers. i.e what if a user could pass into their config any telescope picker they want to use goto-preview with this way, and goto-preview would somehow "insert itself" in the mix, allowing the user to trigger a goto-preview window from that picker. Maybe there's a way to just have a keymap that can be triggered from any picker that calls a goto-preview function with the currently selected element on a picker and goto-preview does its thing?
I suppose the trouble there would be telling the telescope picker it needs to close because essentially the user has finalized their action.
The text was updated successfully, but these errors were encountered:
rmagatti
changed the title
[FEATURE] Trigger goto-preview from any Telescope.nvim pickers
[FEATURE] Trigger goto-preview from any Telescope.nvim picker
Aug 4, 2024
Is your feature request related to a problem? Please describe.
No.
Describe the solution you'd like
I'd like to be able to from a given telescope picker, be able to open a preview, without actually having a definition to go to.
The workflow would look something like this:
I'm in a file, I remember I need to change something in another file that doesn't necessarily have a direct connection to my current file. I however don't want to lose the context in my brain for the current file, I just want to open a goto-preview window for a given file and make my quick change from that window, save, close the preview then go right back to my current file and keep doing what I was doing before.
Describe alternatives you've considered
N/A
Additional context
Ideally this wouldn't require major integration with specific telescope pickers. i.e what if a user could pass into their config any telescope picker they want to use goto-preview with this way, and goto-preview would somehow "insert itself" in the mix, allowing the user to trigger a goto-preview window from that picker. Maybe there's a way to just have a keymap that can be triggered from any picker that calls a goto-preview function with the currently selected element on a picker and goto-preview does its thing?
I suppose the trouble there would be telling the telescope picker it needs to close because essentially the user has finalized their action.
The text was updated successfully, but these errors were encountered: