Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/drujensen/vim-wayback-machine
A VIM plugin that provides an easy way to navigate to older versions using git.
https://github.com/drujensen/vim-wayback-machine
Last synced: 10 days ago
JSON representation
A VIM plugin that provides an easy way to navigate to older versions using git.
- Host: GitHub
- URL: https://github.com/drujensen/vim-wayback-machine
- Owner: drujensen
- Created: 2015-06-27T22:17:31.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-07-14T07:02:16.000Z (over 9 years ago)
- Last Synced: 2024-10-25T01:35:40.325Z (about 2 months ago)
- Language: VimL
- Size: 137 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Git Wayback Machine in VIM
Adapted from Nikolay Nemshilov's [MadRabbit/git-wayback-machine](https://github.com/MadRabbit/git-wayback-machine).
This VIM plugin provides the ability to easily navigate through the history of git commits
and see the progression of changes. The plugin is written in Ruby.## Requirements
- vim >= 7.2 with Ruby support (check with `:version` and look for `+ruby`)
## Installation
- Get [Pathogen](httsp://github.com/tpope/vim-pathogen)
- clone this repository in your `~/.vim/bundle` directory## How to use it?
`:WaybackMachine` - opens the Wayback Machine based on the current file being
viewed. You will see the Git Log in a buffer. You can navigate up and down
through time and watch the file change.When you close the Wayback Machine window, this will `git reset` to the latest
version.`w` maps to the Wayback Machine.
### Issues
- This utility uses `git reset --hard {sha}`. You've been warned!
## License
All code in this repository is released under the terms of the MIT License