diff options
Diffstat (limited to 'lua/core/binds.lua')
-rw-r--r-- | lua/core/binds.lua | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/lua/core/binds.lua b/lua/core/binds.lua index 7a7fce0..66a2af5 100644 --- a/lua/core/binds.lua +++ b/lua/core/binds.lua @@ -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 |