Go to file
Marco Hinz 1bdf100aad
Do not make option defaults depend on each other
Having default values for options that depend on another option's value is a bad
practice. Be more explicit:

  g:signify_sign_show_text  is ON by default
  g:signify_sign_show_count is ON by default

So, people who want just background colors and no text at all in their signs
have to set both:

  let g:signify_sign_show_text  = 0
  let g:signify_sign_show_count = 0

Before this change, only the first line was needed.

This also fixes a bug that happened with:

  let g:signify_sign_show_text  = 0
  let g:signify_sign_show_count = 1

Removed lines wouldn't show a count whereas changed + removed lines would.
2017-07-18 16:47:03 +02:00
autoload Do not make option defaults depend on each other 2017-07-18 16:47:03 +02:00
doc fixes for nnoremaps 2017-06-06 21:51:45 +02:00
pictures README: complete revamp 2015-12-27 23:11:23 +01:00
plugin Ignore :SignifyRefresh in cmdline-window 2017-03-02 16:46:55 +01:00
.gitignore Help out submodule users by ignoring doc/tags 2016-06-08 12:47:24 +02:00
CONTRIBUTING.md CONTRIBUTING: update 2013-06-06 12:42:30 +02:00
LICENSE Bump license years 2015-04-28 15:59:08 +02:00
README.md README: polishing 2017-04-21 19:51:35 +02:00
showcolors.bash Showcolors: proper cleanup 2013-07-03 20:06:26 +02:00

vim-signify


Signify (or just Sy) uses the sign column to indicate added, modified and removed lines in a file that is managed by a version control system (VCS).


  • Supports git, mercurial, darcs, bazaar, subversion, cvs, rcs, fossil, accurev, perforce, tfs.
  • Asynchronous execution of VCS tools for Vim 7.4.1967+ and Neovim.
  • Preserves signs from other plugins.
  • Handles nested repositories controlled by different VCS.
  • Provides mappings for navigating hunks ("blocks of changed lines").
  • Provides an operator that acts on hunks.
  • Alternative workflow: Disable the plugin by default and toggle it per buffer on demand.
  • Optional line highlighting.
  • Optional skipping of filetypes/filenames.
  • Optional stats in the statusline.
  • Works out of the box, but allows fine-grained configuration.
  • Great documentation and handsome maintainers!

If git is the only version control system you use, I suggest having a look at vim-gitgutter.

Installation

Use your favorite plugin manager, e.g. using vim-plug:

Plug 'mhinz/vim-signify'

Documentation

  1. Understand how the plugin works: :h signify-modus-operandi
  2. Spare the plugin some work and read: :h g:signify_vcs_list

Demo

Example:signify in action

Author and Feedback

If you like this plugin, star it! It's a great way of getting feedback. The same goes for reporting issues or feature requests.

Contact: Twitter

Co-maintainer: @jamessan