From 5032aca04f4d0bce092ade66fe914c34af357a5e Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 27 Dec 2013 15:32:50 -0200 Subject: Initial import --- vim.dot.link/doc/git-vim.txt | 95 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 95 insertions(+) create mode 100644 vim.dot.link/doc/git-vim.txt (limited to 'vim.dot.link/doc/git-vim.txt') diff --git a/vim.dot.link/doc/git-vim.txt b/vim.dot.link/doc/git-vim.txt new file mode 100644 index 0000000..5fba807 --- /dev/null +++ b/vim.dot.link/doc/git-vim.txt @@ -0,0 +1,95 @@ +*git-vim.txt* Git Bindings for Vim + +============================================================================== +CONTENTS *git-vim-contents* + + 1. Introduction.............................|git-vim| + 2. Commands.................................|git-vim-commands| + 3. Keymaps..................................|git-vim-keymaps| + 4. License..................................|git-vim-license| + +============================================================================== +1. Introduction *git-vim* + +Git-vim provides: + +* Plugin files for calling git functions from inside Vim +* Syntax files for git displays + +============================================================================== +2. Commands *git-vim-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. + +:GitPull + git-pull. + +:GitPullRebase + git-pull —rebase. + +:GitPush + git-push. Defaults to +git push origin +. + +: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. + +============================================================================== +3. Keymaps *git-vim-keymaps* + +gd + :GitDiff + +gD + :GitDiff —cached + +gs + :GitStatus + +gl + :GitLog + +ga + :GitAdd + +gA + :GitAdd + +gc + :GitCommit + +In the git-status buffer: + + + :GitAdd + +============================================================================== +4. License *git-vim-license* + +The MIT License + + vim:tw=78:ts=8:ft=help -- cgit v1.2.3