mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
gco and gcO create conflicts inside Neovim as both have gc prefix
This commit is contained in:
parent
abc6554e24
commit
c01af2e875
1 changed files with 2 additions and 2 deletions
|
|
@ -76,8 +76,8 @@ map("v", "<", "<gv")
|
||||||
map("v", ">", ">gv")
|
map("v", ">", ">gv")
|
||||||
|
|
||||||
-- commenting
|
-- commenting
|
||||||
map("n", "gco", "o<esc>Vcx<esc><cmd>normal gcc<cr>fxa<bs>", { desc = "Add Comment Below" })
|
map("n", "cmb", "o<esc>Vcx<esc><cmd>normal gcc<cr>fxa<bs>", { desc = "Add Comment Below" })
|
||||||
map("n", "gcO", "O<esc>Vcx<esc><cmd>normal gcc<cr>fxa<bs>", { desc = "Add Comment Above" })
|
map("n", "cma", "O<esc>Vcx<esc><cmd>normal gcc<cr>fxa<bs>", { desc = "Add Comment Above" })
|
||||||
|
|
||||||
-- lazy
|
-- lazy
|
||||||
map("n", "<leader>l", "<cmd>Lazy<cr>", { desc = "Lazy" })
|
map("n", "<leader>l", "<cmd>Lazy<cr>", { desc = "Lazy" })
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue