numToStr / Comment.nvim

:brain: :muscle: // Smart and powerful comment plugin for neovim. Supports treesitter, dot repeat, left-right/up-down motions, hooks, and more

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Retain visual mode after commenting

lakshits11 opened this issue · comments

Suppose I selected few lines in visual mode. And now I pressed gc. After pressing gc it would unselect my selection. Is there a way for it to retain the selection after toggling comments on that selection and my cursor position should remain same as it was before toggling comment?

Nevermind, i figured it out with setting keymapping as gcgv. If I will have any more problems, I will reopen the issue.