public
Description: My vim files for Git
Clone URL: git://github.com/motemen/git-vim.git
Search Repo:
name age message
folder README.rdoc Thu Jul 24 03:46:56 -0700 2008 Wrote README in rdoc syntax. [motemen]
folder plugin/ Wed Jul 23 20:38:44 -0700 2008 Syntax for git-diff --stat. [motemen]
folder syntax/ Wed Jul 23 20:38:44 -0700 2008 Syntax for git-diff --stat. [motemen]
README.rdoc

git.vim

Introduction

Git-vim provides:

  • Plugin files for calling git functions from inside Vim
  • Syntax files for git displays

Commands

:GitAdd
git-add or current file if not specified.
:GitCommit
git-commit.
:GitStatus
Show git-status of current file or repository.
:GitLog
Show git-log of current file or repository.
:GitCheckout
git-checkout. Completes git commits.
:GitDiff
git-diff. Completes git commits.
:GitCatFile
git-cat-file.
:Git
Does any git command.
:GitVimDiffMerge
Experimental. Call this command on unmerged file to enter vimdiff mode.
:GitVimDiffMergeDone
Call this command after merging.

Keymaps

gd
:GitDiff
gD
:GitDiff —cached
gs
:GitStatus
gl
:GitLog
ga
:GitAdd
gA
:GitAdd
gc
:GitCommit

In git-status buffer

:GitAdd