Go to file
Marco Hinz 52cb36801d get_diff_hg: Disable color extension
This handles the case where a user forces colors from the color extension via
hgrc:

    [extensions]
    color =

    [defaults]
    diff = --colors=always

Sy disables these for its 'hg diff' call, otherwise the output would be
riddled with color escape sequences and couldn't be parsed properly which
would result in no signs shown.

References #146.
2014-11-23 07:34:20 +01:00
autoload get_diff_hg: Disable color extension 2014-11-23 07:34:20 +01:00
doc Remove all default mappings except for ]c / [c 2014-11-05 14:16:44 +01:00
plugin Remove extraneous :call in FocusGained autocmd 2014-11-06 14:02:00 -05:00
.gitignore Use MIT license 2013-08-02 12:43:22 +02:00
CONTRIBUTING.md CONTRIBUTING: update 2013-06-06 12:42:30 +02:00
LICENSE Use MIT license 2013-08-02 12:43:22 +02:00
README.md README: update 2014-10-04 16:20:17 +02:00
showcolors.bash Showcolors: proper cleanup 2013-07-03 20:06:26 +02:00
signify.gif Update signify.gif 2013-06-25 11:59:25 +02:00

vim-signify

Example:signify in action

by Marco Hinz

Twitter: https://twitter.com/mhinz
IRC: mhi^ (Freenode)

If you use any of my plugins, please star them on github. It's a great way of getting feedback and gives me the kick to put more time into their development. If you encounter any bugs or have feature requests, just open an issue report on Github.

Intro

Signify (or just Sy) is a quite unobtrusive plugin. It uses signs to indicate added, modified and removed lines based on data of an underlying version control system.

It's fast, easy to use and well documented.


Features:

  • supports git, mercurial, darcs, bazaar, subversion, cvs, rcs, fossil, accurev, perforce
  • quick jumping between blocks of changed lines ("hunks")
  • apart from signs there is also optional line highlighting
  • preserves signs from other plugins
  • you can toggle the plugin per buffer
  • good documentation
  • skip certain filetypes and filenames
  • depending on your usual workflow you can disable it per default and enable on demand later
  • fully configurable through global variables (options and mappings)

What about vim-gitgutter?

Sy provides a superset of gitgutter.

So here is the short answer: The main difference in Sy is its support for version control systems other than git. Moreover, two of its design goals are speed and ease of use.

Installation & Documentation

If you have no preferred installation method, I suggest using tpope's pathogen. Afterwards installing vim-signify is as easy as pie:

$ git clone https://github.com/mhinz/vim-signify ~/.vim/bundle/vim-signify

It works without any configuration, but you might want to look into the documentation for further customization:

:Helptags  " rebuilding tags files
:h signify

NOTE: The single most important option by far is g:signify_vcs_list. Please read :h signify-option-vcs_list.

License

MIT license. Copyright (c) 2013 Marco Hinz.