# HG changeset patch # User zegervdv # Date 1407432327 -7200 # Node ID c31e63aba1dd3e29ea768f7ab67dc7b97e3d1424 # Parent 8278ded5eb8ce6691d67830a784bdfa1257ff0e4 Use better colors for matching parentheses diff -r 8278ded5eb8c -r c31e63aba1dd vimrc --- a/vimrc Thu Aug 07 19:11:30 2014 +0200 +++ b/vimrc Thu Aug 07 19:25:27 2014 +0200 @@ -5,7 +5,7 @@ set laststatus=2 set noshowmode -let g:pathogen_disabled = ['ack','ctrlp', 'yankring'] +let g:pathogen_disabled = ['ack'] execute pathogen#infect() set backspace=2 @@ -104,8 +104,6 @@ " Set leader to , let mapleader = "," -map d :bpspbnbd - " See long lines as line breaks map j gj map k gk @@ -117,7 +115,7 @@ execute "keepjumps normal! `z" Pulse endfunction -nnoremap :silent! call JumpToTag() +nnoremap :silent! call JumpToTagInSplit() " Jump to end of line in insert mode inoremap I @@ -170,8 +168,8 @@ nnoremap gV `[v`] " Briefly change colour of last highlight -nnoremap n n:call HLNext(0.4) -nnoremap N N:call HLNext(0.4) +" nnoremap n n:call HLNext(0.4) +" nnoremap N N:call HLNext(0.4) function! HLNext (blinktime) highlight WhiteOnRed ctermfg=white ctermbg=red guifg=white guibg=red @@ -185,6 +183,9 @@ redraw endfunction +" Highlight matching parenthesis in different color so I don't mess up +hi MatchParen cterm=underline ctermbg=none ctermfg=white gui=underline guifg=white + " Highlight VCS conflict markers match ErrorMsg '^\(<\|=\|>\)\{7\}\([^=].\+\)\?$'