On 13 Gen, 23:21, Alexey Radkov <[email protected]> wrote:
> yes, install xclip and put the 2 lines
>
> vmap <C-c> y:call system("xclip -i", getreg("\""))<CR>
> nmap <C-i> :call setreg("\"",system("xclip -o"))<CR>p
>
> in your .vimrc. Of course this will work only if you run X server.
>
> then when you select text by mouse (in case if mouse=a) or by entering
> visual mode from keyboard, and then Ctrl-c - the text will be copied
> to system clipboard and you can paste it anywhere. In normal mode Ctrl-
> i will insert text in vim from system clipboard.
>
> Best regards. Alexey.
Great Alexey
works
Rob
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---