Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/junkblocker/git-time-lapse
Fork of git-time-lapse: Perforce-style for vim/neovim
https://github.com/junkblocker/git-time-lapse
changelog diff git history log navigation neovim nvim p4 perforce plugin vim viml
Last synced: 3 months ago
JSON representation
Fork of git-time-lapse: Perforce-style for vim/neovim
- Host: GitHub
- URL: https://github.com/junkblocker/git-time-lapse
- Owner: junkblocker
- Created: 2014-11-20T19:28:42.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2022-08-26T03:58:54.000Z (over 2 years ago)
- Last Synced: 2024-08-07T18:48:27.807Z (6 months ago)
- Topics: changelog, diff, git, history, log, navigation, neovim, nvim, p4, perforce, plugin, vim, viml
- Language: Vim Script
- Homepage:
- Size: 24.4 KB
- Stars: 33
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# [git-time-lapse](https://github.com/junkblocker/git-time-lapse)
Fork of [git-time-lapse: Perforce-style](http://vim.sourceforge.net/scripts/script.php?script_id=3849) for vim/neovim
## Description
You're editing a file which is in a git repository. Press a key which
opens a new tab which shows how that commit changed that file in vim\'s
diff mode (:help diff), with a window at the bottom showing the commit
message. Left and right arrows move through the history. Shift-left and
shift-right go all the way to the end. Return on a line goes back to the
last commit that touched that line (using git blame).Close the tab when you're bored with it (`:tabclose` or `:windo bd`) and carry
on vimming as usual.You can open as many time-lapse tabs on different files in one vim
session as you want.Inspired by the "time lapse view" in the Perforce gui.
## Demo
[![asciicast](https://asciinema.org/a/296792.svg)](https://asciinema.org/a/296792)
## Use
Map a key in your .vimrc, e.g.:
``` {.vim}
nmap gt (git-time-lapse)
```or use the command:
``` {.vim}
:GitTimeLapse
```to run it.