> What's the best way to solve this?  Should I use a function which acts
> differently depending on the type of the visual mode being used (if
> that is even possible)?  If this is the case, a quick example would be
> very much welcome.
>
> You found solutions: the :mode() function will tell you in what kind of
visual selection you are (I advise you to use :xmap and not :vmap)
And in a mapping, you still can use V and <C-V> to change the selection. To
convert a linewise selection to a blockwise selection, use <C-V>0o$

-- 
Benoit Mortgat
39, cours Albert Thomas
69003 Lyon, France
+33 4 27 78 31 27 / +33 6 17 15 41 58

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to