Hi
I have some keymaps to paste text directly in insert mode:
inoremap <C-v> <C-O>"+p<Right>
The problem is that when I am programing and  Iahev my code indented, using
autoindent for instance with python everytime I copy in a new line I lose
the indentation.
In fact if I press enter, in insert mode, and then Esc to go to normal mode
the cursor always goes to the begging of the line instead of going to the
proper column and keep the indentation I had in the insert mode. This is the
reason cos my keymap doesn't work properly wit indented lines.
Any way to sovle this????
thx

-- 
Un saludo
Best Regards
Pablo Giménez

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

Reply via email to