X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/cee2c4b32bb163ae3b84242d7aca0092664569c4..ce545a590b536432b8535dc94d8fe0cdc1bc3461:/vim/vimrc diff --git a/vim/vimrc b/vim/vimrc index 6b2c8ab..b5d20ad 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -265,6 +265,8 @@ set viewoptions+=folds " save folds set diffopt+=filler " show filler lines set diffopt+=vertical " always vertical split set diffopt+=context:10 " 10 lines context between changes +set diffopt+=internal +set diffopt+=algorithm:patience " reading and writing files {{{2 set modeline " read modelines @@ -568,6 +570,7 @@ nmap qq :echo "hi<" . synIDattr(synID(line("."),col("."),1),"na " airline {{{2 let g:airline#extensions#whitespace#enabled = 1 let g:airline#extensions#tabline#enabled = 1 +let g:airline#extensions#searchcount#enabled = 0 let g:airline_powerline_fonts = 1 " checkattach {{{2 @@ -601,8 +604,8 @@ nnoremap gcc :tab G commit -v nnoremap gca :tab G commit -v --amend nnoremap gcf :tab G commit -v --fixup= nnoremap gp :echohl WarningMsg \| echo "use \gpp instead" \| echohl None -nnoremap gpp :G push -nnoremap gpf :G push --force-with-lease +nnoremap gpp :Git push \| copen +nnoremap gpf :Git push --force-with-lease \| copen nnoremap ga :Gwrite nnoremap gb :G blame