Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

keybindings comment部分出问题 #166

Closed
EvilChan opened this issue May 20, 2023 · 1 comment
Closed

keybindings comment部分出问题 #166

EvilChan opened this issue May 20, 2023 · 1 comment

Comments

@EvilChan
Copy link

-- 代码注释插件
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]

@nshen
Copy link
Owner

nshen commented May 22, 2023

可能我写错了?现在我是 normal 模式下 gcc / gbc ,visual 下 gc / gb

Repository owner locked and limited conversation to collaborators May 22, 2023
@nshen nshen converted this issue into discussion #167 May 22, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants