I find it really annoying that control-c copies text that is selected in visual mode, but then unselects the text and goes back to normal mode. I tried to write a map for <C-C> to automatically go back into visual mode and reselect the text that was originally selected:
map <C-C> mz"*yv`z This works, except when in visual line mode, where it loses the line- wise selection. If i use V instead of v (to use visual line mode instead of visual mode), then it will work for visual line mode but over-selects if the original selection was in visual mode. I want control-c to work for either one (i.e. get back into the proper mode). Does anyone know how this can be done? Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
