SpaceVim

A modular Vim/Neovim configuration


Home | About | Quick start guide | Documentation | Development | Community | Sponsors | 中文


Available Layers » git

Description

This layer adds extensive support for git.

Install

To use this configuration layer, add the following snippet to your custom configuration file (SPC f v d).

[[layers]]
  name = "git"

Layer options

if you want to use fugitive instead:

[[layers]]
  name = "git"
  git_plugin = 'fugitive'

Key bindings

Key Binding Description
SPC g s view git status
SPC g S stage current file
SPC g U unstage current file
SPC g c edit git commit
SPC g p git push
SPC g m git branch manager
SPC g r git remote manager
SPC g d view git diff
SPC g A stage all files
SPC g b open git blame windows
SPC g h a stage current hunk
SPC g h r undo cursor hunk
SPC g h v preview cursor hunk

Powered by Jekyll