decrease editor font size; increase Mark.vim color numbers
This commit is contained in:
parent
d542f117c9
commit
1d0fef966b
2 changed files with 21 additions and 18 deletions
|
@ -1,13 +1,13 @@
|
|||
if has("mac") || has("macunix")
|
||||
set gfn=Hack:h10,Source\ Code\ Pro:h10,Menlo:h10
|
||||
set gfn=Hack:h9,Source\ Code\ Pro:h9,Menlo:h9
|
||||
elseif has("win16") || has("win32")
|
||||
set gfn=Hack:h10,Source\ Code\ Pro:h10,Bitstream\ Vera\ Sans\ Mono:h10
|
||||
set gfn=Hack:h9,Source\ Code\ Pro:h9,Bitstream\ Vera\ Sans\ Mono:h9
|
||||
elseif has("gui_gtk2")
|
||||
set gfn=Hack\ 10,Source\ Code\ Pro\ 10,Bitstream\ Vera\ Sans\ Mono\ 10
|
||||
set gfn=Hack\ 9,Source\ Code\ Pro\ 9,Bitstream\ Vera\ Sans\ Mono\ 9
|
||||
elseif has("linux")
|
||||
set gfn=Hack\ 10,Source\ Code\ Pro\ 10,Bitstream\ Vera\ Sans\ Mono\ 10
|
||||
set gfn=Hack\ 9,Source\ Code\ Pro\ 9,Bitstream\ Vera\ Sans\ Mono\ 9
|
||||
elseif has("unix")
|
||||
set gfn=Monospace\ 10
|
||||
set gfn=Monospace\ 9
|
||||
endif
|
||||
|
||||
" move around tabs. conflict with the original screen top/bottom
|
||||
|
|
|
@ -67,12 +67,22 @@
|
|||
|
||||
" default colors/groups
|
||||
" you may define your own colors in you vimrc file, in the form as below:
|
||||
hi MarkWord1 ctermbg=Cyan ctermfg=Black guibg=#8CCBEA guifg=Black
|
||||
hi MarkWord2 ctermbg=Green ctermfg=Black guibg=#A4E57E guifg=Black
|
||||
hi MarkWord3 ctermbg=Yellow ctermfg=Black guibg=#FFDB72 guifg=Black
|
||||
hi MarkWord4 ctermbg=Red ctermfg=Black guibg=#FF7272 guifg=Black
|
||||
hi MarkWord5 ctermbg=Magenta ctermfg=Black guibg=#FFB3FF guifg=Black
|
||||
hi MarkWord6 ctermbg=Blue ctermfg=Black guibg=#9999FF guifg=Black
|
||||
hi MarkWord1 ctermbg=Cyan ctermfg=Black guibg=#ff7f50 guifg=Black
|
||||
hi MarkWord2 ctermbg=Green ctermfg=Black guibg=#A4E57E guifg=Black
|
||||
hi MarkWord3 ctermbg=Yellow ctermfg=Black guibg=#FFDB72 guifg=Black
|
||||
hi MarkWord4 ctermbg=Red ctermfg=Black guibg=#ff4500 guifg=Black
|
||||
hi MarkWord5 ctermbg=Magenta ctermfg=Black guibg=#ff00ff guifg=Black
|
||||
hi MarkWord6 ctermbg=Blue ctermfg=Black guibg=#87ceeb guifg=Black
|
||||
hi MarkWord7 ctermbg=DarkBlue ctermfg=Black guibg=#0000FF guifg=White
|
||||
hi MarkWord8 ctermbg=DarkGreen ctermfg=Black guibg=#00FF00 guifg=Black
|
||||
hi MarkWord9 ctermbg=DarkCyan ctermfg=Black guibg=#00FFFF guifg=Black
|
||||
hi MarkWord10 ctermbg=DarkRed ctermfg=Black guibg=#FF0000 guifg=White
|
||||
hi MarkWord11 ctermbg=DarkMagenta ctermfg=Black guibg=#FF00FF guifg=White
|
||||
hi MarkWord12 ctermbg=Brown ctermfg=Black guibg=#8b008b guifg=White
|
||||
hi MarkWord13 ctermbg=Grey ctermfg=Black guibg=#fafad2 guifg=Black
|
||||
hi MarkWord14 ctermbg=Green ctermfg=Black guibg=#adff2f guifg=Black
|
||||
|
||||
let g:mwCycleMax=14
|
||||
|
||||
" Anti reinclusion guards
|
||||
if exists('g:loaded_mark') && !exists('g:force_reload_mark')
|
||||
|
@ -218,13 +228,6 @@ function! s:InitMarkVariables()
|
|||
if !exists("g:mwHistAdd")
|
||||
let g:mwHistAdd = "/@"
|
||||
endif
|
||||
if !exists("g:mwCycleMax")
|
||||
let i = 1
|
||||
while hlexists("MarkWord" . i)
|
||||
let i = i + 1
|
||||
endwhile
|
||||
let g:mwCycleMax = i - 1
|
||||
endif
|
||||
if !exists("g:mwCycle")
|
||||
let g:mwCycle = 1
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue