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
2015-07-04 18:45:02 -04:00
..
packages.el Split git layer into git and github layers 2015-06-09 22:42:11 -04:00
README.org Fix the document of version control keybinding 2015-07-04 18:45:02 -04:00

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
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