I know that, but i want to select text using vim visual mode, and copy to
clipboard ^^
On August 27, 2014 5:51:33 AM CEST, Renato Silva <[email protected]>
wrote:
>Just in case you guys are not aware, mintty can copy & paste with right
>click and shift+insert, respectively.
>
>
>2014-08-10 3:44 GMT-03:00 NAKAI Yuta <[email protected]>:
>
>>
>>
>> ________________________________
>> > Date: Sat, 9 Aug 2014 16:11:11 +0200
>> > From: [email protected]
>> > To: [email protected]
>> > Subject: [Msys2-users] Couple questions
>> >
>> > Hello,
>> >
>> > I've been using msys2 for a couple days now, and I am glad to
>finally
>> > see a good MSYS installation with a real package manager, etc..
>> > However, I came accross a few troubles on the way :
>> >
>> > 1) Is there any way to setup my own mirror that would be syncd with
>the
>> > main repos ? On arch linux, mirrors are supposed to rsync one of
>the
>> > main repos, which support this protocol. Unfortunately, MSYS2 repos
>> > don't support rsync (or at least I didn't see any mention about
>it). Is
>> > there any other way ?
>> >
>> > 2) msys2's Vim doesn't have clipboard support. That kind of came as
>a
>> > surprise to me, since every other vim distributions I came accross
>> > compiled with that option enabled. Is there a reason it's not
>enabled
>> > by default ?
>> >
>>
>> Hi, Robin
>> Vim enables each features depending on the compiling system.
>> On Cygwin, clipboard cannot be enabled. So, on msys2, neither.
>> If you want to use clipboard, you need to implement it to vim.
>> Howerver, I use a workaround on .vimrc.
>> Writing the following lines on your vimrc, you can share clipboard
>between
>> msys2 and windows.
>>
>> function! ClipboardYank()
>> call writefile( split( @@, "\n" ), '/dev/clipboard' )
>> endfunction
>> function! ClipboardPaste()
>> let @@ = join( readfile( '/dev/clipboard' ), "\n" )
>> endfunction
>> vnoremap <silent> y y:call ClipboardYank()<cr>
>> vnoremap <silent> d d:call ClipboardYank()<cr>
>> nnoremap <silent> p :call ClipboardPaste()<cr>p
>>
>>
>> > 3) Arch Linux has the AUR for user-contributed packages to be
>found. Is
>> > there anything like it for MSYS2 ? I kind of assume the answer is
>"no",
>> > but I think it'd be a really good idea to have something similar to
>it.
>> > It doesn't even have to be hosted by anyone, we could just use the
>> > existing structure of MSYS-Packages and MinGW-Packages git repos,
>and
>> > just create a tool that's able to download a git subfolder and run
>the
>> > PKGBUILDS from there.
>> >
>> >
>>
>------------------------------------------------------------------------------
>> > _______________________________________________ Msys2-users mailing
>> > list [email protected]
>> > https://lists.sourceforge.net/lists/listinfo/msys2-users
>>
>>
>------------------------------------------------------------------------------
>> _______________________________________________
>> Msys2-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/msys2-users
>>
--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Msys2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/msys2-users