You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A partial solution (as it works only linewise): ["gC"] = { "yy<cmd>lua require('Comment.api').toggle.linewise.current()<cr>", "Yank and comment out" },
This is a map definition via WhichKey-Plugin.
A very handy command that yanks the line(s) before commenting, so you can press p or P to insert the line (the way it was before) below or above.
Just like [count]cy |NERDCommenterYank|
[(https://github.com/preservim/nerdcommenter)]
The text was updated successfully, but these errors were encountered: