Jorge Timón wrote:

> Hi, as the title says, I want to Copy and paste to and from other
> programs, obviously, in vim.
> I've tried this, but it's not working as I expected:
>
> vnoremap <C-c> y
> vnoremap <C-v> p
> nnoremap <C-v> ip
> map! <C-c> y
> map! <C-v> p
>
> My OS is ubuntu, just in case it matters.

Hi Jorge,

I’m not that familiar with running Vim on Linux, but take a look at

  :help "*
  :help 'clipboard'

I think you probably want e.g.

  vnoremap <C-c> "*y

HTH,
-- 
Benjamin D. Esham   |   [email protected]
“scientologists... combining everything i hate about religion
with everything i hate about intellectual property laws.”
                                 — circletimessquare on kuro5hin

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

Reply via email to