chore(nvim): cleanup and keybindings

This commit is contained in:
2024-09-23 16:25:54 +03:00
parent 0908a23231
commit fd8d72ab38
12 changed files with 188 additions and 261 deletions

View File

@@ -5,6 +5,11 @@ return {
dependencies = {
{ 'nvim-telescope/telescope.nvim' },
},
keys = {
{ 'n', 'gpd', '<cmd>lua require("goto-preview").goto_preview_definition()<CR>' },
{ 'n', 'gpi', '<cmd>lua require("goto-preview").goto_preview_implementation()<CR>' },
{ 'n', 'gP', '<cmd>lua require("goto-preview").close_all_windows()<CR>' },
},
config = function()
require('goto-preview').setup {
width = 120, -- Width of the floating window