Fandom

Vim Tips Wiki

Script:3849

1,624pages on
this wiki
Add New Page
Talk0

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Use this page to discuss script 3849 git-time-lapse: Perforce-style

  • Add constructive comments, bug reports, or discuss improvements (see the guideline).
  • Do not document the script here (the author should do that on vim.org).
  • This page may be out of date: check the script's vim.org page above, and its release notes.

Proposed fixEdit

I tested the plugin and it works well so far, I only had to add "normal gg" to both windows since they were not scrolled to the top after commit switch which was nasty to work with.

Starting at line 15 in time-lapse.vim, the proposed fix inserts the two lines marked "+".

  	wincmd t
  	diffthis
+ 	normal gg
  	wincmd l
  	diffthis
+ 	normal gg

--November 14, 2014

Thanks for posting the fix, but it's not a good idea to post scripts here because they are confusing on a wiki page and quickly become obsolete. I therefore replaced your script with the short diff above. What you should do is email the script author (click on the author's name at the vim.org script page) and attach your file, with an explanation. A problem with posting it here is that the script contains an embedded carriage return (CR) character, and that caused the line to be broken when displayed here. The result is a script that would not work. JohnBeckett (talk) 10:23, November 16, 2014 (UTC)

CommentsEdit

Also on Fandom

Random Wiki