Hacker News new | past | comments | ask | show | jobs | submit login
Tinkering with Neovim (maskray.me)
2 points by MaskRay 77 days ago | hide | past | favorite | 1 comment



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')




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: