aboutsummaryrefslogtreecommitdiff
path: root/vimrc-full
diff options
context:
space:
mode:
Diffstat (limited to 'vimrc-full')
-rw-r--r--vimrc-full9
1 files changed, 5 insertions, 4 deletions
diff --git a/vimrc-full b/vimrc-full
index 9a7e34e..6cba120 100644
--- a/vimrc-full
+++ b/vimrc-full
@@ -136,10 +136,10 @@ if has("gui_running")
136 136
137 " its possible to define alternative fonts (order matters) 137 " its possible to define alternative fonts (order matters)
138 set guifont= 138 set guifont=
139 set guifont+=Source\ Code\ Pro\ for\ Powerline\ SemiBold\ 10
140 set guifont+=Meslo\ LG\ M\ for\ Powerline\ Bold\ 10
141 set guifont+=Droid\ Sans\ Mono\ for\ Powerline 139 set guifont+=Droid\ Sans\ Mono\ for\ Powerline
140 set guifont+=Source\ Code\ Pro\ for\ Powerline\ SemiBold\ 10
142 set guifont+=Dejavu\ Sans\ Mono\ for\ Powerline\ Semibold 141 set guifont+=Dejavu\ Sans\ Mono\ for\ Powerline\ Semibold
142 set guifont+=Meslo\ LG\ M\ for\ Powerline\ 10
143endif 143endif
144 144
145" ======================================================================================================================= 145" =======================================================================================================================
@@ -754,6 +754,7 @@ function! ExtendColorTheme()
754 highlight! TabLineSel ctermbg=blue ctermfg=black 754 highlight! TabLineSel ctermbg=blue ctermfg=black
755 highlight! link TabLineFill LineNr 755 highlight! link TabLineFill LineNr
756 highlight! Search ctermbg=12 ctermfg=0 756 highlight! Search ctermbg=12 ctermfg=0
757 highlight! Italic cterm=italic gui=italic
757endfunction 758endfunction
758autocmd! ColorScheme * call ExtendColorTheme() 759autocmd! ColorScheme * call ExtendColorTheme()
759 760
@@ -771,8 +772,8 @@ endif
771 772
772 773
773" ====================================================================================================================== 774" ======================================================================================================================
774highlight WordBold ctermbg=LightYellow ctermfg=black cterm=bold gui=bold guibg=LightYellow guifg=black
775let w:m1 = 0 775let w:m1 = 0
776highlight! BoldItalic cterm=Bold,Italic gui=Bold,Italic
776function! HighlightWordUnderCursor() 777function! HighlightWordUnderCursor()
777 if(exists('w:m1') && w:m1 > 0) 778 if(exists('w:m1') && w:m1 > 0)
778 silent! call matchdelete(w:m1) 779 silent! call matchdelete(w:m1)
@@ -781,7 +782,7 @@ function! HighlightWordUnderCursor()
781 let l:currentword = escape(expand('<cword>'), '.') 782 let l:currentword = escape(expand('<cword>'), '.')
782 if(strlen(l:currentword) > 0) 783 if(strlen(l:currentword) > 0)
783 let w:m1=100 784 let w:m1=100
784 silent! call matchadd('WordBold', '\<'.l:currentword.'\>', -1, w:m1) 785 silent! call matchadd('BoldItalic', '\<'.l:currentword.'\>', -1, w:m1)
785 endif 786 endif
786endfunction 787endfunction
787autocmd! CursorHold,CursorHoldI * call HighlightWordUnderCursor() 788autocmd! CursorHold,CursorHoldI * call HighlightWordUnderCursor()
..