[–] MaskRay 1y ago ↗ I have placed a lot of focus on code navigation. Here is what I mentioned in my post: nmap('J', '<cmd>Telescope lsp_definitions<cr>', 'Definitions') nmap('<M-,>', '<cmd>Telescope lsp_references<CR>', 'References') nmap('H', '<cmd>pop<cr>', 'Tag stack backward') nmap('L', '<cmd>tag<cr>', 'Tag stack forward') nmap('xn', function() M.lsp.words.jump(vim.v.count1) end, 'Next reference') nmap('xp', function() M.lsp.words.jump(-vim.v.count1) end, 'Prev reference')
2 comments
[ 3.3 ms ] story [ 16.6 ms ] thread