diff options
-rw-r--r-- | dotvimrc | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -60,7 +60,7 @@ NeoBundle 'Shougo/vimproc' NeoBundle 'mileszs/ack.vim.git' noremap <Leader>a :Ack --cpp --cc <cword><CR> -NeoBundle 'motemen/git-vim.git' +NeoBundle 'tpope/vim-fugitive' "Show + - ~ in the margin for vim modification NeoBundle "airblade/vim-gitgutter" @@ -158,6 +158,7 @@ set statusline+=%{((exists(\"+bomb\")\ &&\ &bomb)?\"B,\":\"\")}]\ " BOM set statusline+=%{strftime('%a\ %b\ %e\ %H:%M')}\ " hour "set statusline+=%{SyntaxItem()} " syntax highlight group under cursor set statusline+=%= " right align +set statusline+=%{fugitive#statusline()}\ " git branch set statusline+=0x%-8B\ " current char set statusline+=%-14.(%l,%c%V%)\ %<%P " offset @@ -274,8 +275,9 @@ noremap ]e :cnext<CR> noremap [h :GitGutterPrevHunk<CR> noremap ]h :GitGutterNextHunk<CR> -"GIT timelapse +"GIT stuff noremap <Leader>gt :call TimeLapse()<cr> +noremap <Leader>gb :Gblame<cr> noremap <Leader>e :NERDTreeToggle<CR> |