mootoh (owner)

Revisions

gist: 180739 Download_button fork
public
Public Clone URL: git://gist.github.com/180739.git
Embed All Files: show embed
git-vim.txt #
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
*git-vim.txt* Git plugin for Vim
 
= git.vim
 
See Original at http://github.com/motemen/git-vim/tree/master.
 
====================================================================
CONTENTS *git-vim-contents*
 
Introduction |git-vim-introduction|
Commands |git-vim-commands|
Keymaps |git-vim-keymaps|
ToDo |git-vim-todo|
 
====================================================================
INTRODUCTION *git-vim-Introduction*
 
Git-vim provides:
* Plugin files for calling git functions from inside Vim
* Syntax files for git displays
 
====================================================================
COMMANDS *git-vim-commands*
 
GitAdd <file> *GitAdd*
   git-add <file> or current file if not specified.
GitCommit <args> *GItCommit*
   git-commit.
GitStatus *GitStatus*
   Show git-status of current file or repository.
GitLog *GItLog*
   Show git-log of current file or repository.
GitCheckout <args> *GitCheckout*
   git-checkout. Completes git commits.
GitDiff <args> *GitDiff*
   git-diff. Completes git commits.
GitPull <args> *GitPull*
   git-pull.
GitPullRebase *GitPullRebase*
   git-pull --rebase.
GitPush <args> *GitPush*
   git-push. Defaults to +git push origin <current-branch>+.
GitCatFile <args> *GitCatFile*
   git-cat-file.
Git <args> *Git*
   Does any git command.
GitVimDiffMerge *GitVimDiffMerge*
   Experimental.
   Call this command on unmerged file to enter vimdiff mode.
GitVimDiffMergeDone *GitVimDiffMergeDone*
   Call this command after merging.
 
====================================================================
KEYMAPS *git-vim-keymaps*
 
<Leader>gd GitDiff
<Leader>gD :GitDiff --cached
<Leader>gs :GitStatus
<Leader>gl :GitLog
<Leader>ga :GitAdd
<Leader>gA :GitAdd <cfile>
<Leader>gc :GitCommit
 
=== In git-status buffer
[<Enter>] :GitAdd <cfile>
 
 
====================================================================
TODO *git-vim-todo*
 
My ToDos (@mootoh)
 
- make a shortcut for 'git log -p'
- use diff syntax for 'git log -p'
- fork to work on them
 
====================================================================
 vim:set ft=help: