vim-signify

:heavy_plus_sign: Show a diff using Vim its sign column.

Github星跟踪图

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, yadm.
  • Asynchronous execution of VCS tools for Vim 8.0.902+ 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.
  • Preview changes in the current line in a popup window.
  • Show all changes in diff mode.
  • 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!

Similar plugin for git: vim-gitgutter

Installation

The master branch is async-only and thus requires at least Vim 8.0.902. Use
the legacy branch for older Vim versions.

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

if has('nvim'), has('patch-8.0.902')
  Plug 'mhinz/vim-signify'
else
  Plug 'mhinz/vim-signify', { 'branch': 'legacy' }
endif

Configuration for async update

" default updatetime 4000ms is not good for async update
set updatetime=100

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

主要指标

概览
名称与所有者mhinz/vim-signify
主编程语言Vim Script
编程语言Shell (语言数: 2)
平台
许可证MIT License
所有者活动
创建于2013-03-05 18:48:38
推送于2024-07-12 15:02:40
最后一次提交2024-04-04 22:57:05
发布数4
最新版本名称stable (发布于 )
第一版名称v1.0 (发布于 2015-07-24 16:44:09)
用户参与
星数2.7k
关注者数38
派生数106
提交数786
已启用问题?
问题数283
打开的问题数13
拉请求数77
打开的拉请求数4
关闭的拉请求数57
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?