Created
June 29, 2013 12:56
-
-
Save alpaca-tc/5891009 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NeoBundle 'tpope/vim-fugitive' | |
NeoBundle 'Shougo/git-vim' | |
NeoBundle 'kmnk/vim-unite-giti' | |
" fugitive | |
nnoremap <silent>gb :<C-U>Gblame<CR> | |
nnoremap <silent>gm :<C-U>Gcommit<CR> | |
nnoremap <silent>gM :<C-U>Gcommit --amend<CR> | |
" git-vim | |
nnoremap <silent>ga :<C-U>GitAdd<CR> | |
nnoremap gD :<C-U>GitDiff<Space> | |
nnoremap <silent>gd :<C-U>GitDiff HEAD<CR> | |
" unite-giti | |
nnoremap <silent>gl :<C-U>Unite -no-start-insert -horizontal giti/log<CR> | |
nnoremap <silent>gs :<C-U>Unite -no-start-insert -horizontal giti/status<CR> | |
nnoremap <silent>gh :<C-U>Unite -no-start-insert giti/branch_all<CR> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment