replace gd and the likes with glance

This commit is contained in:
2023-06-26 11:28:27 -04:00
parent a3c9d258ec
commit b19167a1ab
3 changed files with 14 additions and 7 deletions

View File

@ -59,8 +59,14 @@ a.nvim_create_autocmd('FileType', {
})
-- plugin binds ---------------------------------------------------------------
-- treesj
local treesj = require('treesj')
-- pretty lsp view
map('n', 'gd', '<CMD>Glance definitions<CR>')
map('n', 'gr', '<CMD>Glance references<CR>')
map('n', 'gy', '<CMD>Glance type_definitions<CR>')
map('n', 'gi', '<CMD>Glance implementations<CR>')
local treesj = require('treesj') -- treesj
map('n', '<leader>j', treesj.toggle)
-- telescope