Friday, October 1, 2010

Re: How to configure vim to use the mouse, AND to copy and paste

On Friday 01 October 2010 14:44:31 Ven Tadipatri wrote:

> definitely not be this complicated. I wonder, how do all the
> vim users on this list use copy and paste?

speaking for myself only, i got used to using ctrl-insert and
shift-insert way back in my windows days because they worked
in more places than ctrl-c and ctrl-v

i have several lines relating to them in my .vimrc:

nmap <S-Insert> "+gP
vmap <S-Insert> "-d"+P
imap <S-Insert> <C-O>:set paste<CR><C-R>+\|<C-O>:set nopaste<CR>
cmap <S-Insert> <C-R>+
imap <C-Insert> <C-O>"+y
vmap <C-Insert> "+y
vmap <S-Del> "+d
imap <C-Del> <C-O>daw

and lately, if i want to quit an app i am copying from before
i paste i make sure and start klipper beforehand

sc

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: