Re: uncommenting in Visual Line mode
Hi!
My company recently got me a license for ViEmu and I love it!
I am having the following issue, which could just be a misunderstanding on my part (I'm fairly new to Vim in general):
I have the following in my _viemurc:
map <C-k> gS:vsc Edit.CommentSelection<CR>
map <C-S-k> gS:vsc Edit.UncommentSelection<CR>
When I select multiple lines of code using Visual Line mode and then press Ctrl-k, I get what I expect, which is that the entire selected block of code is commented out.
However, when I highlight a block of code that is already commented out (again, using Visual Line mode), and press Ctrl-Shift-k, only the line on which the caret lies actually gets uncommented. Has anyone else seen this? Interestingly, if I first press gS to change the selection to a VS selection, and then press Ctrl-Shift-k, my code is uncommented as expected. I have gS in my mappings (as shown above), so I'm not sure what the problem could be.
Thanks!