diff options
Diffstat (limited to 'lua/maps/coc.lua')
-rw-r--r-- | lua/maps/coc.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lua/maps/coc.lua b/lua/maps/coc.lua index d7b2b3c..85eacfc 100644 --- a/lua/maps/coc.lua +++ b/lua/maps/coc.lua @@ -38,10 +38,10 @@ vim.api.nvim_set_keymap("n", "[g", "<Plug>(coc-diagnostic-prev)", {silent = true vim.api.nvim_set_keymap("n", "]g", "<Plug>(coc-diagnostic-next)", {silent = true}) -- GoTo code navigation. -vim.api.nvim_set_keymap("n", "gd", "<Plug>(coc-definition)", {silent = true}) -vim.api.nvim_set_keymap("n", "gy", "<Plug>(coc-type-definition)", {silent = true}) -vim.api.nvim_set_keymap("n", "gi", "<Plug>(coc-implementation)", {silent = true}) -vim.api.nvim_set_keymap("n", "gr", "<Plug>(coc-references)", {silent = true}) +vim.api.nvim_set_keymap("n", "gd", ":Telescope coc definitions<CR>", {silent = true}) +vim.api.nvim_set_keymap("n", "gy", ":Telescope coc type_definitions<CR>", {silent = true}) +vim.api.nvim_set_keymap("n", "gi", ":Telescope coc implementations<CR>", {silent = true}) +vim.api.nvim_set_keymap("n", "gr", ":Telescope coc references<CR>", {silent = true}) -- Use K to show documentation in preview window. vim.api.nvim_set_keymap("n", "K", ":call v:lua.show_documentation()<CR>", |