X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/d001cf9213aebde421dacfcbe3101dade4db9c51..4d3e068bbf1d35ba4bea61aee336b23b715afc12:/vim/vimrc diff --git a/vim/vimrc b/vim/vimrc index fdd0552..8c75c58 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -1,8 +1,3 @@ -" My vimrc. -" -" Author: Samir Benmendil -" - " runtimepath {{{1 set runtimepath ^=$XDG_CONFIG_HOME/vim set runtimepath +=$XDG_CONFIG_HOME/vim/after @@ -640,7 +635,8 @@ nnoremap gb :G blame augroup fugitive_gstatus au! - autocmd BufWinEnter */.git/index resize 16 + autocmd User FugitiveIndex setlocal winfixheight + autocmd User FugitiveIndex nmap = augroup end " Gundo {{{2 @@ -684,6 +680,9 @@ let g:SignatureMap = { " switch let g:switch_mapping = "s" +let g:switch_custom_definitions = [ + \ ['yes', 'no'] + \ ] " spellrotate nmap z] (SpellRotateForward)