diff options
author | HampusM <hampus@hampusmat.com> | 2024-06-09 14:09:13 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2024-06-09 14:09:13 +0200 |
commit | 17351b228abd9f953c2789f98b1403ea496b30a4 (patch) | |
tree | f9e3efafdc99aad212f56aa9527fa17bfbf22598 /lua/maps | |
parent | 8eea431d0554308394fe951502e9fc63399837df (diff) |
use telescope-coc
Diffstat (limited to 'lua/maps')
-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>", |