[Question] Mapping keymaps to toggle comments #336
Answered
by
numToStr
liketoeatcheese
asked this question in
Q&A
-
Hey mate, First of all, awesome work on the plugin! To my question, to comment on the whole paragraph, I normally have to vip to select the whole paragraph and then gc to toggle the comment. I want to shorten this by creating a keymap with gcp: But when I do that, it only selects the paragraph without commenting it, is there a way to call that as a lua function? Something like this: I hope that makes sense |
Beta Was this translation helpful? Give feedback.
Answered by
numToStr
Apr 24, 2023
Replies: 1 comment 1 reply
-
You can just do |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
liketoeatcheese
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can just do
gcip
to comment out the paragraph.