Doc: add :SignifyDiff

References #253
This commit is contained in:
Marco Hinz 2018-05-03 17:33:00 +02:00
parent 0f12c2b18c
commit a1551dbae3
No known key found for this signature in database
GPG Key ID: 1C980A1B657B4A4F

View File

@ -129,6 +129,7 @@ Most important options:~
Other options:~
|g:signify_vcs_cmds|
|g:signify_vcs_cmds_diffmode|
|g:signify_disable_by_default|
|g:signify_skip_filetype|
|g:signify_skip_filename|
@ -258,6 +259,21 @@ Default:
\ 'tfs': 'tf diff -version:W -noprompt %f',
\ }
<
------------------------------------------------------------------------------
*g:signify_vcs_cmds_diffmode* >
let g:signify_vcs_cmds_diffmode = {
\ 'git': 'git show HEAD:./%f',
\ 'hg': 'hg cat %f',
\ 'svn': 'svn cat %f',
\ 'bzr': 'bzr cat %f',
\ 'darcs': 'darcs show contents -- %f',
\ 'cvs': 'cvs up -p -- %f 2>%n',
\ 'perforce': 'p4 print %f',
\ }
<
The command to use for |:SignifyDiff|. This option takes the same format as
|g:signify_vcs_cmds|.
------------------------------------------------------------------------------
*g:signify_disable_by_default* >
let g:signify_disable_by_default = 0
@ -426,6 +442,15 @@ Refresh signs in all windows.
NOTE: Nothing will happen, if :SignifyRefresh is used from the |cmdline-window|.
------------------------------------------------------------------------------
*signify-:SignifyDiff* >
:SignifyDiff
<
Open a new tab with two windows using |diff-mode| to show the differences
between the current file and its version that was last checked in.
Also see |g:signify_vcs_cmds_diffmode|.
------------------------------------------------------------------------------
*signify-:SignifyFold* >
:SignifyFold[!]