zhmz90 / vim

Automatically exported from code.google.com/p/vim
0 stars 0 forks source link

With clipboard=unnamed/plus, netrw plugin clears system PRIMARY/CLIPBOARD when vim is opened. #257

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Set clipboard=unnamed or clipboard=unnamedplus in .vimrc
2. Copy anything into primary or system clipboard, depending on which you 
specified in step 1.
3. Open instance of vim or gvim. (netrw plugin must be installed. It's 
installed by default on Arch Linux through vim-runtime dependency)

What is the expected output? What do you see instead?
Expected: clipboard/primary contents untouched.
Instead: clipboard/primary is empty.

What version of the product are you using? On what operating system?
Vim: 7.4.410 (from Arch packages gvim and vim-runtime)
OS: Arch Linux

Please provide any additional information below.
Change in 7.4.396 (revision 6116) seems to have caused this. Works before .396 
as expected, but after that version only if netrwPlugin.vim is removed from the 
file system.

Original issue reported on code.google.com by paoe...@gmail.com on 13 Sep 2014 at 11:53

GoogleCodeExporter commented 9 years ago
This is currently discussed on the vim_dev mailinglist. See the thread starting 
here: https://groups.google.com/d/msg/vim_dev/pDlrr4cFI2g/J7d4SuNx3UcJ

Original comment by chrisbr...@googlemail.com on 13 Sep 2014 at 12:29

GoogleCodeExporter commented 9 years ago
Fixed by 7.4.445

Original comment by chrisbr...@googlemail.com on 2 Oct 2014 at 7:24