GithubHelp home page GithubHelp logo

stephenmm / vim-mercenary Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jlfwong/vim-mercenary

0.0 2.0 0.0 462 KB

mercenary.vim: A mercurial wrapper so awesome, you should give it money

Vim Script 100.00%

vim-mercenary's Introduction

mercenary.vim

I'm not going to lie to you; mercenary.vim may very well be the worst Mercurial wrapper of all time.

This is my fork of Jamie Wong's great work. I needed to modify it slightly to work with subrepos. So far I have only got the HGblame working with subrepos.

Show and Tell

Here are some screenshots showing off some the mercenary's dirty work:

:HGblame will annotate the current file with the blame. Every Line of Code is Always Documented

:HGblame

:HGdiff {rev} will diff the current file against the specified revision.

:HGdiff

:HGshow {rev} will show the commit message and diff for the specified revision.

:HGshow

:HGcat {rev} {path} will show the specified file at the specified revision.

:HGcat

Installation

If you don't have a preferred installation method, I recommend installing NeoBundle and adding

NeoBundle 'stephenmm/vim-mercenary'

to your .vimrc then next time you start vim it will install itself.

If you prefer pathogen.vim, after installing it, simply copy and paste:

cd ~/.vim/bundle
git clone git://github.com/stephenmm/vim-mercenary.git

Once help tags have been generated, you can view the manual with :help mercenary.

License

Mercenary is (c) Jamie Wong.

Distributed under the same terms as Vim itself. See :help license.

Heavily inspired by vim-fugitive by Tim Pope: https://github.com/tpope/vim-fugitive

This started out as a fork of fugitive, but I eventually discovered that the differences between git and mercurial while minor in functionality are vast in implementation. So I started from scratch, using fugitive's code as a reference but re-implementing everything to be less of a monkey patch for mercurial.

vim-mercenary's People

Contributors

akahn avatar asgeo1 avatar blueyed avatar daisuzu avatar flatcap avatar guns avatar gvalkov avatar jean avatar jlfwong avatar nvie avatar scrooloose avatar sgur avatar stephenmm avatar tmhedberg avatar tpope avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.