-
Notifications
You must be signed in to change notification settings - Fork 41
Allow to jump to definition in lsp finder #102
Comments
Unfortunately, I don't use lsp_finder at all, if anyone is using it and want to extend it please open a pr. |
Opening a reference by result number would be a new feature I think but you can already configure the finder window's action keys like so: local saga = require 'lspsaga'
saga.init_lsp_saga({
finder_action_keys = {
open = '<CR>', vsplit = 's', split = 'i', quit = { 'q', '<Esc>' }, scroll_down = '<C-f>', scroll_up = '<C-b>' -- quit can be a table
}
}) |
Thanks. I forgor to close |
@Suyashtnt I was interested in this too so I threw together a quick implementation. Try that out and lmk if that's what you had in mind. Numbers jump to the specified item in the menu, but I figured you might still want to see the preview window before going directly to the file, so you'd have to hit number + enter. |
I'll check it out this afternoon |
@raphaelcastaneda Just one little question (hoping not getting blamed to post as a comment in this issue, I didn't wanted to create a new one, creating lots of question issues in the repo): |
Is your feature request related to a problem? Please describe.
I really dont want to have a seperate keybinding when jumping to the definition vs finding it
Describe the solution you'd like
being able to press enter on a result or the result number to jump to it
Describe alternatives you've considered
Create a seperate keybinding
Additional context
Also how do you actually close the lsp finder window?
The text was updated successfully, but these errors were encountered: