map return and shift return to jump lsp definitions
This commit is contained in:
@ -36,5 +36,21 @@ return {
|
||||
end,
|
||||
desc = 'Lazygit Log (cwd)',
|
||||
},
|
||||
{
|
||||
'<return>',
|
||||
function()
|
||||
Snacks.words.jump(vim.v.count1)
|
||||
end,
|
||||
desc = 'Next Reference',
|
||||
mode = { 'n' },
|
||||
},
|
||||
{
|
||||
'<S-CR>',
|
||||
function()
|
||||
Snacks.words.jump(-vim.v.count1)
|
||||
end,
|
||||
desc = 'Prev Reference',
|
||||
mode = { 'n' },
|
||||
},
|
||||
},
|
||||
}
|
||||
|
Reference in New Issue
Block a user