Permalink
Browse files

add GitV plugin

will try this instead of tig for a while.
  • Loading branch information...
1 parent f0c6fab commit d867d5ee20e0b06208ebf623c373a2c8fe62826e @mattly committed Aug 5, 2012
Showing with 13 additions and 3 deletions.
  1. +3 −0 .gitmodules
  2. +1 −0 vim/bundle/gitv.git
  3. +9 −3 vimrc
View
@@ -109,3 +109,6 @@
[submodule "vim/bundle/vim-tmux.git"]
path = vim/bundle/vim-tmux.git
url = https://github.com/tsaleh/vim-tmux.git
+[submodule "vim/bundle/gitv.git"]
+ path = vim/bundle/gitv.git
+ url = https://github.com/gregsexton/gitv.git
Submodule gitv.git added at 582e32
View
12 vimrc
@@ -189,6 +189,7 @@
" sp - previous misspelling
" ss - toggle spelling
" s? - suggestions
+ " tc - toggle cursor tracking
" tp - toggle paste mode
" y yank to system clipboard, follow with normal yank operations
" , turn off search highlighting
@@ -331,15 +332,20 @@
let g:NERDTreeMapJumpNextSibling="S-j"
let g:NERDTreeMapJumpPrevSibling="S-k"
-" Fugitive and Vim
+" Fugitive and GitV
" =============================================================================
nnoremap <Leader>gs :Gstatus<CR>
nnoremap <silent> <Leader>gd :w<CR>:Gdiff<CR><CR>
nnoremap <Leader>gb :Gblame<CR>
nnoremap <Leader>gw :Gw<CR>
+ nnoremap <Leader>gv :Gitv --all<CR>
+ nnoremap <Leader>gV :Gitv! --all<CR>
+ let g:Gitv_DoNotMapCtrlKey = 1
+
+
" Utilities
-" ==========================================================================================
+" =============================================================================
" just sudo it
cnoremap w!! %!sudo tee > /dev/null %
@@ -405,7 +411,7 @@
endif
redraw
endfunction
- nnoremap <C-Space> :call CursorTrack()<CR>
+ nnoremap <Leader>tc :call CursorTrack()<CR>
" Pasteboard
" =============================================================================

0 comments on commit d867d5e

Please sign in to comment.