mirror of
https://github.com/dcarrillo/dotfiles.git
synced 2025-07-03 09:59:25 +00:00
[neovim] Reorganize plugins
This commit is contained in:
@ -135,6 +135,8 @@ keymap({ "n", "v" }, "<leader>lf", function()
|
||||
require("conform").format({ async = true, lsp_fallback = true })
|
||||
end, vim.tbl_extend("force", opts, { desc = "Format the current buffer or selection" }))
|
||||
|
||||
keymap({ "n", "v" }, "<leader>o", "<cmd>Outline<CR>", vim.tbl_extend("force", opts, { desc = "Toogle Outline" }))
|
||||
|
||||
-- Neotest
|
||||
keymap(
|
||||
"n",
|
||||
@ -216,20 +218,6 @@ keymap(
|
||||
vim.tbl_extend("force", opts, { desc = "Open a Telescope prompt to show all commands" })
|
||||
)
|
||||
|
||||
-- Comment
|
||||
keymap(
|
||||
"n",
|
||||
"<leader>/",
|
||||
"<cmd>lua require'Comment.api'.toggle.linewise.current()<cr>",
|
||||
vim.tbl_extend("force", opts, { desc = "Comment/Uncomment code lines" })
|
||||
)
|
||||
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" })
|
||||
)
|
||||
|
||||
-- Gitdiff
|
||||
keymap(
|
||||
"n",
|
||||
|
Reference in New Issue
Block a user