Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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