Replies: 1 comment 2 replies
-
可能我写错了?现在我是 normal 模式下 gcc / gbc ,visual 下 gc / gb |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
-- 代码注释插件
pluginKeys.comment = {
...,
opleader = {
line = "gc",
--bock = "gb",
block = "gb", -- fix
},
}
-- Ctrl + /
map("n", "<C->", "gcc", { noremap = false })
-- map("v", "<C->", "gcc", { noremap = false })
map("v", "<C-_>", "gc", { noremap = false }) -- fix
VISUAL 模式下使用注释,多出一个c出来,导致内容突然删除并进入编辑模式
大佬,使用的时候不慌的吗,还是没用上,手动狗头[doge][doge][doge]
Beta Was this translation helpful? Give feedback.
All reactions