X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/bb14bfaf7d275de2d231cae3f5bb8de07d0a1dc1..d02b6aef4e6a11b5edb44c04b60a0b1c88973e78:/vim/vimrc diff --git a/vim/vimrc b/vim/vimrc index 4abe137..fcc4ff9 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -330,7 +330,7 @@ cnoremap cnoremap " close all folds open fold in cursor -nnoremap zx zMzxzz15 +nnoremap zx zMzxzt " edit vimrc in new tab nmap ev :tabedit $MYVIMRC:lcd %:p:h @@ -410,6 +410,7 @@ nnoremap gs :Gstatus nnoremap gd :Gdiff nnoremap gc :tab Gcommit -v nnoremap ga :Gwrite +nnoremap gb :Gblame " 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 jd :YcmCompleter GoTo -" vim-easy-align +" vim-easy-align {{{2 " start interactive EasyAlign in visual mode -vnoremap (EasyAlign) +vmap (EasyAlign) " vim-json {{{2 let g:vim_json_syntax_conceal = 0