My vimrc already has the very useful mapping
vnoremap < <gv
vnoremap > >gv
I'm using the TComment plugin, and I'd like to also do something like
vmap gc gcgv
to re-highlight a visual selection after toggling gc
.
But, as written, it just seems to prevent gc
from working. vnoremap
gives the same result.
Is there a way to do this with a simple mapping? Or should I write a function for it?