2013-03-05 17:07:54 -05:00
|
|
|
*signify.txt* Seeing changes like a boss.
|
|
|
|
*signify*
|
|
|
|
|
|
|
|
___
|
|
|
|
__ __ /'___\
|
|
|
|
____/\_\ __ ___ /\_\/\ \__/ __ __
|
|
|
|
/',__\/\ \ /'_ `\ /' _ `\/\ \ \ ,__\/\ \/\ \
|
|
|
|
/\__, `\ \ \/\ \L\ \/\ \/\ \ \ \ \ \_/\ \ \_\ \
|
|
|
|
\/\____/\ \_\ \____ \ \_\ \_\ \_\ \_\ \/`____ \
|
|
|
|
\/___/ \/_/\/___L\ \/_/\/_/\/_/\/_/ `/___/> \
|
|
|
|
/\____/ /\___/
|
|
|
|
\_/__/ \/__/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reference Manual
|
|
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
CONTENTS *signify-contents*
|
|
|
|
|
|
|
|
1.Intro..........................................|signify-intro|
|
|
|
|
2.Usage..........................................|signify-usage|
|
|
|
|
3.Options........................................|signify-options|
|
2013-03-06 20:35:03 -05:00
|
|
|
4.Commands.. ....................................|signify-commands|
|
2013-03-05 17:07:54 -05:00
|
|
|
5.Author.........................................|signify-author|
|
|
|
|
6.Credits........................................|signify-credits|
|
|
|
|
7.License........................................|signify-license|
|
|
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
1. Intro *signify-intro*
|
|
|
|
|
2013-03-06 17:40:57 -05:00
|
|
|
Signify, or just sy for short, is an quite unobtrusive plugin. If there is
|
|
|
|
information about changes (in form of patch hunks) since the last commit, they
|
|
|
|
will be shown on the left side in Vim's sign column.
|
2013-03-05 17:07:54 -05:00
|
|
|
|
|
|
|
Easy-peasy!
|
|
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
2. Usage *signify-usage*
|
|
|
|
|
|
|
|
The usage is pretty straight-forward. By default you should only notice a
|
|
|
|
difference, if you're working in a directory that is managed by a supported
|
2013-03-06 19:28:05 -05:00
|
|
|
version control system:
|
|
|
|
|
|
|
|
- git
|
|
|
|
- mercurial
|
2013-03-06 19:56:31 -05:00
|
|
|
- bzr
|
2013-03-06 21:28:21 -05:00
|
|
|
- subversion
|
|
|
|
- cvs
|
2013-03-05 17:07:54 -05:00
|
|
|
|
|
|
|
The plugin defines 3 new kinds of signs and their corresponding highlighting
|
|
|
|
classes. It tries to inherent existing colors from the LineNr class, if that
|
|
|
|
fails, it sets its own colors. In case you don't like these colors, you can
|
|
|
|
change them easily through variables.
|
|
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
3. Options *signify-options*
|
|
|
|
|
|
|
|
Just put these variables into your vimrc. The shown assignments are only
|
2013-03-06 07:22:58 -05:00
|
|
|
examples, not default
|
2013-03-05 17:07:54 -05:00
|
|
|
|
|
|
|
|
2013-03-07 06:56:25 -05:00
|
|
|
let g:signify_sign_overwrite = 1
|
|
|
|
|
|
|
|
Overwrite signs set by other plugins by default.
|
|
|
|
|
|
|
|
|
2013-03-06 06:32:02 -05:00
|
|
|
let g:signify_mapping_next_hunk = '<leader>gn'
|
|
|
|
let g:signify_mapping_prev_hunk = '<leader>gp'
|
2013-03-05 17:07:54 -05:00
|
|
|
|
2013-03-06 07:22:58 -05:00
|
|
|
Mapping for jumping to the next or previous hunk.
|
2013-03-05 17:07:54 -05:00
|
|
|
|
|
|
|
|
|
|
|
let g:signify_mapping_toggle_highlight = '<leader>gh'
|
|
|
|
|
|
|
|
Mapping for toggling line highlighting for lines containing changes.
|
|
|
|
|
|
|
|
|
|
|
|
let g:signify_mapping_toggle = '<leader>gt'
|
|
|
|
|
|
|
|
Mapping for toggling the plugin for the current buffer only.
|
|
|
|
|
|
|
|
|
2013-03-06 07:22:58 -05:00
|
|
|
let g:signify_sign_add = '+'
|
2013-03-05 17:07:54 -05:00
|
|
|
let g:signify_sign_delete = '-'
|
2013-03-06 07:22:58 -05:00
|
|
|
let g:signify_sign_change = '*'
|
2013-03-05 17:07:54 -05:00
|
|
|
|
2013-03-06 07:22:58 -05:00
|
|
|
The sign to use if a line was added, deleted or changed.
|
2013-03-05 17:07:54 -05:00
|
|
|
|
|
|
|
|
2013-03-06 20:35:03 -05:00
|
|
|
let g:signify_exceptions_filetype = [ 'vim', 'c' ]
|
|
|
|
let g:signify_exceptions_filename = [ '.vimrc' ]
|
|
|
|
|
|
|
|
Don't active the plugin for these filetypes and/or filenames.
|
|
|
|
|
|
|
|
|
2013-03-06 07:22:58 -05:00
|
|
|
let g:signify_color_sign_guifg_add = '#00ff00'
|
|
|
|
let g:signify_color_sign_guifg_delete = '#ff0000'
|
|
|
|
let g:signify_color_sign_guifg_change = '#ffff00'
|
|
|
|
let g:signify_color_guibg = '#111111'
|
2013-03-05 17:07:54 -05:00
|
|
|
|
2013-03-07 07:58:05 -05:00
|
|
|
let g:signify_color_sign_ctermfg_add = 2
|
2013-03-06 07:22:58 -05:00
|
|
|
let g:signify_color_sign_ctermfg_delete = 1
|
|
|
|
let g:signify_color_sign_ctermfg_change = 3
|
|
|
|
let g:signify_color_sign_ctermbg = 0
|
2013-03-05 17:07:54 -05:00
|
|
|
|
2013-03-06 07:22:58 -05:00
|
|
|
The colors of your sign column.
|
2013-03-05 17:07:54 -05:00
|
|
|
|
2013-03-06 21:41:18 -05:00
|
|
|
let g:signify_color_line_highlight_add = 'DiffAdd'
|
|
|
|
let g:signify_color_line_highlight_delete = 'DiffDelete'
|
|
|
|
let g:signify_color_line_highlight_change = 'DiffChange'
|
|
|
|
|
|
|
|
The highlight classes to use with line highlighting.
|
|
|
|
|
2013-03-05 17:07:54 -05:00
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
4. Commands *signify-commands*
|
|
|
|
|
|
|
|
:SignifyToggle
|
|
|
|
|
|
|
|
Toggle the plugin for the current buffer only.
|
|
|
|
Default mapping: <leader>gt
|
|
|
|
|
|
|
|
|
|
|
|
:SignifyToggleHighlight
|
|
|
|
|
|
|
|
Toggle line highlighting for lines containing changes.
|
|
|
|
Default mapping: <leader>gh
|
|
|
|
|
|
|
|
|
2013-03-06 06:32:02 -05:00
|
|
|
:SignifyJumpToNextHunk
|
2013-03-05 17:07:54 -05:00
|
|
|
|
2013-03-06 06:32:02 -05:00
|
|
|
Jump to the next hunk.
|
2013-03-05 17:07:54 -05:00
|
|
|
Default mapping: <leader>gn
|
|
|
|
|
|
|
|
|
2013-03-06 06:32:02 -05:00
|
|
|
:SignifyJumpToPrevHunk
|
2013-03-05 17:07:54 -05:00
|
|
|
|
2013-03-06 07:22:58 -05:00
|
|
|
Jump to the previous hunk.
|
2013-03-05 17:07:54 -05:00
|
|
|
Default mapping: <leader>gp
|
|
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
5. About the author *signify-author*
|
|
|
|
|
|
|
|
The author of signify is a lazy bum who somehow enjoys wasting time toying
|
|
|
|
around with Vim and especially VimL.
|
|
|
|
|
2013-03-05 17:58:41 -05:00
|
|
|
My nick on Freenode IRC is mhi^.
|
|
|
|
|
2013-03-05 17:07:54 -05:00
|
|
|
For latest developments:
|
|
|
|
|
|
|
|
https://github.com/mhinz
|
|
|
|
|
|
|
|
Thank you for flying mhi airlines. Get the Vim on!
|
|
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
6. Credits *signify-credits*
|
|
|
|
|
2013-03-07 08:18:57 -05:00
|
|
|
People who contributed to sy. Format: Person (Github account)
|
|
|
|
|
|
|
|
|
|
|
|
Jeremy Mack (muterwinter)
|
2013-03-05 17:07:54 -05:00
|
|
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
7. Licence *signify-license*
|
|
|
|
|
2013-03-07 07:12:01 -05:00
|
|
|
Distributed under a 3-clause BSD license.
|
2013-03-05 17:07:54 -05:00
|
|
|
|
|
|
|
|
|
|
|
vim: tw=78
|