Permalink
Browse files

Some fugitive keybindings

  • Loading branch information...
1 parent 637ded9 commit 24a7cc1be8d0341787cec952068066e385ccb6ec Dennis Wilkins committed May 2, 2012
Showing with 9 additions and 2 deletions.
  1. +9 −2 keybindings.vim
View
@@ -1,4 +1,4 @@
-
+"===== My Keybindings, some are perm, some are me testing it out ====="
nnoremap <silent> <Tab> :wincmd w<CR>
nnoremap <silent> <S-Tab> :wincmd W<CR>
@@ -11,12 +11,19 @@ map L $
map gf :e <cfile><CR>
map <Leader>n :NERDTree<CR>
+map <Leader>gb :Gblame<CR>
+map <Leader>gs :Gstatus<CR>
+map <Leader>gd :GdiffInTab<CR>
vnoremap < <gv
vnoremap > >gv
"map <C-F> :CommandT<CR>
+" i hate flushing, so this just does it for me automatically, but would be
+" slow on huge filesets
map <C-F> :CommandTFlush<CR>:CommandT<CR>
map <C-T> :tab new<CR>
-map <C-P> :e#<CR>
nmap <F1> <Esc>
imap <F1> <Esc>
+
+
+command GdiffInTab tabedit %|Gdiff

0 comments on commit 24a7cc1

Please sign in to comment.