Pablo Giménez wrote: > I have some keymaps to paste text directly in insert mode: > inoremap <C-v> <C-O>"+p<Right>
On reflection, it looks like the 'pastetoggle' I recommended is not appropriate for your situation. A precise example of what's in the clipboard and where the cursor is might help, but the following tip should do what you want: http://vim.wikia.com/wiki/Smart_paste Another strategy would be to investigate what the MS Windows compatible paste does (I haven't looked at this for ages, so can't comment). see mappings in file vim72/mswin.vim which uses function in vim72/autoload/paste.vim John --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
