This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/contrib/!source-control/version-control/README.org

1 KiB

Version-Control contribution layer for Spacemacs

Table of Contents   TOC@4

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
g h g Go to hunk
g h N Previous hunk
g h n Next hunk
g h r Revert hunk