Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jlfwong/vim-mercenary
mercenary.vim: A mercurial wrapper so awesome, you should give it money
https://github.com/jlfwong/vim-mercenary
Last synced: 3 months ago
JSON representation
mercenary.vim: A mercurial wrapper so awesome, you should give it money
- Host: GitHub
- URL: https://github.com/jlfwong/vim-mercenary
- Owner: jlfwong
- Fork: true (tpope/vim-fugitive)
- Created: 2012-07-17T03:44:59.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2022-10-30T02:10:48.000Z (about 2 years ago)
- Last Synced: 2024-07-11T02:02:47.385Z (4 months ago)
- Language: Vim Script
- Homepage:
- Size: 245 KB
- Stars: 72
- Watchers: 9
- Forks: 14
- Open Issues: 1
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
- my-awesome-github-stars - jlfwong/vim-mercenary - mercenary.vim: A mercurial wrapper so awesome, you should give it money (Vim Script)
README
mercenary.vim
============I'm not going to lie to you; mercenary.vim may very well be the worst
Mercurial wrapper of all time.Show and Tell
-------------Here are some screenshots showing off some the mercenary's dirty work:
`:HGblame` will annotate the current file with the blame.
![:HGblame](http://i.imgur.com/O7WUC.png)
`:HGdiff {rev}` will diff the current file against the specified revision.
![:HGdiff](http://i.imgur.com/KRava.png)
`:HGshow {rev}` will show the commit message and diff for the specified
revision.![:HGshow](http://i.imgur.com/x2RzL.png)
`:HGcat {rev} {path}` will show the specified file at the specified revision.
![:HGcat](http://i.imgur.com/g8OpJ.png)
Installation
------------If you don't have a preferred installation method, I recommend
installing [vundle](https://github.com/gmarik/vundle) and addingBundle 'phleet/vim-mercenary'
to your `.vimrc` then running `:BundleInstall`.
If you prefer [pathogen.vim](https://github.com/tpope/vim-pathogen), after
installing it, simply copy and paste:cd ~/.vim/bundle
git clone git://github.com/phleet/vim-mercenary.gitOnce 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-fugitiveThis 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.