]> git.rmz.io Git - dotfiles.git/blobdiff - vim/vimrc
xprofile: run xbindkeys only when it exists
[dotfiles.git] / vim / vimrc
index c3654183bf704f335e0d820632da701ec558e792..fcc4ff9c8a819a870899d60e87e25870a5c57404 100644 (file)
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -42,9 +42,9 @@ Plugin 'derekwyatt/vim-fswitch'
 " Plugin 'powerman/vim-plugin-viewdoc'
 
 Plugin 'airblade/vim-gitgutter'
-Plugin 'Raimondi/delimitMate'
-Plugin 'SirVer/ultisnips'
-Plugin 'Lokaltog/vim-easymotion'
+Plugin 'raimondi/delimitmate'
+Plugin 'sirver/ultisnips'
+Plugin 'lokaltog/vim-easymotion'
 Plugin 'junegunn/vim-easy-align'
 Plugin 'chrisbra/checkattach'
 
@@ -330,7 +330,7 @@ cnoremap <C-H>   <Left>
 cnoremap <C-L>   <Right>
 
 " close all folds open fold in cursor
-nnoremap zx zMzxzz15<C-e>
+nnoremap zx zMzxzt
 
 " edit vimrc in new tab
 nmap <leader>ev :tabedit $MYVIMRC<CR>:lcd %:p:h<CR>
@@ -410,6 +410,7 @@ nnoremap <silent> <leader>gs :Gstatus<CR>
 nnoremap <silent> <leader>gd :Gdiff<CR>
 nnoremap <silent> <leader>gc :tab Gcommit -v<CR>
 nnoremap <silent> <leader>ga :Gwrite<cr>
+nnoremap <silent> <leader>gb :Gblame<cr>
 
 " NERDTree {{{2
 " open/close NERDTree with \e
@@ -458,9 +459,9 @@ let g:ycm_autoclose_preview_window_after_insertion = 1
 "let g:ycm_extra_conf_vim_data = ['%:p']
 nnoremap <leader>jd :YcmCompleter GoTo<CR>
 
-" vim-easy-align
+" vim-easy-align {{{2
 " start interactive EasyAlign in visual mode
-vnoremap <Enter> <Plug>(EasyAlign)
+vmap <Enter> <Plug>(EasyAlign)
 
 " vim-json {{{2
 let g:vim_json_syntax_conceal = 0