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/layers/+source-control/version-control
syl20bnr 96e7c8ee86 git and github: reorganize key bindings
gd is now "diff"
gh is now "github"
gg is not changed for "github gist" (updated the prefix name)
Inverts gc and gC since commit is more frequent than checkout
2015-11-02 00:16:13 -05:00
..
config.el git and github: reorganize key bindings 2015-11-02 00:16:13 -05:00
packages.el git and github: reorganize key bindings 2015-11-02 00:16:13 -05:00
README.org git and github: reorganize key bindings 2015-11-02 00:16:13 -05:00

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