Tuesday, June 15, 2010

Re: Possible to make the + Register the default?

2010/6/15 gustaffi <gustaf@mailinator.com>:
>
> Hello Tony,
>
> thank you for your interesting reply.
>
> Im on Linux. Too bad that its not possible to set the + register as the
> default. Because thats the one I use all the time in Gnome via CTRL+C and
> CTRL+V. I dont want to relearn everything and switch to middle-click. I dont
> even have a middle mouse button on my notebook.
>

How about:

vmap <c-x> "+x
vmap <c-c> "+y
nmap <c-p> "+p

(<c-p>, since <c-v> is used for blockvise Visual mode)

-geirr

--
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: