spacemacs/layers/+source-control/version-control/README.org

1.0 KiB

Version-Control contribution layer for Spacemacs

Description

This layers adds general configuration for Emacs VC. It should work with all VC backends such as Git, Mercurial, Bazaar, SVN, etc…

Features:

  • highlights uncommitted changes in the fringe or margin with diff-hl

Install

Layer

To use this contribution add it to your ~/.spacemacs

(setq-default dotspacemacs-configuration-layers '(version-control))

Key Bindings

Key Binding Description
SPC g h g Go to hunk
SPC g h N Previous hunk
SPC g h n Next hunk
SPC g h r Revert hunk