ramccor / vcscommand

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

Miss 'cursorbind' restoration after a VCSVIMDiff #66

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. use vim 7.3 with the latest patch 7.3.011
2. open a cvs file, do a VCSVimDiff
3. do a VCSGotoOriginal! to restore the original buffer

What is the expected output? What do you see instead?
expected -> same buffer than before the VCSVimDiff
instead -> the buffer property 'cursorbind' is always set.

What version of the product are you using? On what operating system?
Vim 7.3.11
vcscommand-1.99.42

Please provide any additional information below.

This bug as appear with vim 7.3 which introduced the 'cursorbind' property that 
is automatically set for vimdiff, diffthis, diffsplit... command (see
:help vimdiff).
In vcscommand plugin VCSVimDiff restoration forget to save the cursorbind 
state, as for exemple it save the scrollbind state.

The attached patch for  solve this issue.

Fred.

Original issue reported on code.google.com by frederic...@gmail.com on 29 Sep 2010 at 5:39

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks, I'll add this in.

Original comment by bob.hies...@gmail.com on 4 Oct 2010 at 3:02

GoogleCodeExporter commented 9 years ago
Committed as 
http://repo.or.cz/w/vcscommand.git/commit/68b37b4f256f48901570add07a6de0a9b5e316
85 for inclusion in upcoming release.

Original comment by bob.hies...@gmail.com on 2 Jun 2011 at 8:59

GoogleCodeExporter commented 9 years ago
Hello, I have modified the source to comment the line with "cursorbind" as it 
exists since vim 7.3 but not in 7.0

Original comment by pa.gauts...@gmail.com on 8 Aug 2011 at 9:56