tomtom / tcomment_vim

An extensible & universal comment vim-plugin that also handles embedded filetypes
http://www.vim.org/scripts/script.php?script_id=1173
GNU General Public License v3.0
1.4k stars 103 forks source link

Inline comment doesn't work with linewise visual mode #290

Open lilyball opened 3 years ago

lilyball commented 3 years ago

If I enter linewise visual mode and press <C-_>i for an inline comment, it just comments one character per line instead of commenting the whole line.

The behavior here is consistent with pressing <C-v> to enter blockwise visual mode prior to inserting the comments. What I expected was for the whole line to be commented using the inline style (and if multiple lines are selected, comment them as one inline comment).