Vim Tips Wiki


1,623pages on
this wiki
Add New Page
Add New Page Talk0

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
  • This page may be out of date: check the script's 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
+ 	normal gg
  	wincmd l
+ 	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 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)


Also on Fandom

Random Wiki