1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2025-07-02 06:19:25 +00:00

[neovim] Update plugins

This commit is contained in:
2023-11-19 16:04:40 +01:00
parent a4cdf15790
commit e29afbd9aa
4 changed files with 16 additions and 12 deletions

View File

@ -119,7 +119,12 @@ keymap(
"<cmd>Lspsaga diagnostic_jump_prev<cr>",
vim.tbl_extend("force", opts, { desc = "Navigate to the previous diagnostic in the buffer" })
)
keymap("n", "<leader>lr", "<cmd>Lspsaga rename<cr>", vim.tbl_extend("force", opts, { desc = "Open a dialog to rename a code element" }))
keymap(
"n",
"<leader>lr",
"<cmd>Lspsaga rename<cr>",
vim.tbl_extend("force", opts, { desc = "Open a dialog to rename a code element" })
)
keymap(
"n",
"<leader>lp",
@ -195,11 +200,7 @@ keymap(
"x",
"<leader>/",
"<esc><cmd>lua require'Comment.api'.toggle.linewise(vim.fn.visualmode())<cr>",
vim.tbl_extend(
"force",
opts,
{ desc = "Comment/Uncomment code lines on visual block mode" }
)
vim.tbl_extend("force", opts, { desc = "Comment/Uncomment code lines on visual block mode" })
)
-- Gitdiff