From 76fcba44933bef551a21817ef023a0bb6f8407b8 Mon Sep 17 00:00:00 2001 From: Sonny Date: Thu, 26 Apr 2018 17:25:32 +0200 Subject: [PATCH] Tmux background variables --- vim/.vimrc | 3 +- vim/colors/breezy.vim | 124 ------------------------------------------ vim/syntax/python.vim | 2 +- 3 files changed, 3 insertions(+), 126 deletions(-) diff --git a/vim/.vimrc b/vim/.vimrc index 76c7621..537920c 100755 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -12,7 +12,7 @@ set splitright set splitbelow " syntax on -syntax enable +syntax on " switch buffers without writing to file set hidden @@ -31,6 +31,7 @@ set wildmenu " use normal backspace behavior set backspace=2 +set t_ut= set t_Co=256 " colorscheme diff --git a/vim/colors/breezy.vim b/vim/colors/breezy.vim index b94e785..18173a9 100644 --- a/vim/colors/breezy.vim +++ b/vim/colors/breezy.vim @@ -5,30 +5,9 @@ endif let g:colors_name = 'breezy' -" Python syntax -syn keyword pythonClassVar self cls super -syn keyword pythonStatement break continue del return pass yield global assert lambda with -syn keyword pythonStatement raise nextgroup=pythonExClass skipwhite -syn keyword pythonStatement def class nextgroup=pythonFunction skipwhite -syn keyword pythonClassVar self cls -syn keyword pythonRepeat for while -syn keyword pythonConditional if elif else -syn keyword pythonException try except finally -" The standard pyrex.vim unconditionally removes the pythonInclude group, so -" we provide a dummy group here to avoid crashing pyrex.vim. -syn keyword pythonInclude import -syn keyword pythonImport import -syn match pythonRaiseFromStatement '\' -syn match pythonImport '^\s*\zsfrom\>' -syn keyword pythonStatement print -syn keyword pythonStatement exec -syn keyword pythonImport as - " Background Font color -hi Normal guibg=#31363b guifg=#d2dae2 gui=NONE - hi LineNr guibg=#31363b guifg=#7a7c7d gui=NONE hi FoldColumn guibg=#31363b guifg=#7a7c7d gui=NONE hi Folded guibg=#31363b guifg=#7a7c7d gui=NONE @@ -106,106 +85,3 @@ hi SpellLocal guibg=NONE guifg=NONE gui=undercurl hi SpellRare guibg=NONE guifg=NONE gui=undercurl hi ColorColumn guibg=#2a2e32 guifg=NONE gui=NONE - -" general --------------------------------------------------------------------- - -hi link Character String -hi link Conditional Statement -hi link Define Type -hi link Delimiter Normal -hi link Exception Statement -hi link Float Number -hi link Function Normal -hi link HelpCommand Statement -hi link HelpExample Statement -hi link Include PreProc -hi link Keyword Operator -hi link Label Type -hi link Macro PreProc -hi link Number Constant -hi link PreCondit PreProc -hi link Repeat Statement -hi link SpecialChar Special -hi link StorageClass Type -hi link Structure Type -hi link Typedef Type - -" html ----------------------------------------------------------------------- - -hi link htmlBold Normal -hi link htmlItalic Normal -hi link htmlTag PreProc -hi link htmlEndTag PreProc -hi link htmlTagName Operator -hi link htmlTagN Operator -hi link htmlArg PreProc -hi link htmlEvent PreProc - -" CSS ------------------------------------------------------------------------ - -hi link cssClassName Type -hi link cssProp Operator -hi link cssDefinition Operator - -" Typescript ----------------------------------------------------------------- - -hi link typescriptImport PreProc -hi link typescriptExport PreProc -hi link typescriptDecorator Type -hi link typescriptMemberVariableDeclaration Type -hi link typescriptCall Type -hi link typescriptTypeReference Normal -hi link typescriptEndColons Normal - -" diff msgs ------------------------------------------------------------------ - -hi link diffBDiffer WarningMsg -hi link diffCommon WarningMsg -hi link diffDiffer WarningMsg -hi link diffIdentical WarningMsg -hi link diffIsA WarningMsg -hi link diffNoEOL WarningMsg -hi link diffOnly WarningMsg -hi link diffRemoved WarningMsg -hi link diffAdded String - -" markdown ------------------------------------------------------------------- -hi markdownH1 guibg=NONE guifg=#8e44ad gui=bold -hi markdownH2 guibg=NONE guifg=#8e44ad gui=bold -hi markdownH3 guibg=NONE guifg=#8e44ad gui=bold -hi markdownH4 guibg=NONE guifg=#8e44ad gui=bold -hi markdownH5 guibg=NONE guifg=#8e44ad gui=bold -hi markdownH6 guibg=NONE guifg=#8e44ad gui=bold -hi markdownLineBreak guibg=NONE guifg=#7a7c7d gui=underline -hi markdownItalic guibg=NONE guifg=NONE gui=italic -hi markdownBold guibg=NONE guifg=NONE gui=bold -hi markdownBoldItalic guibg=NONE guifg=NONE gui=bold,italic - -hi link markdownHeadingDelimiter Comment -hi link markdownLinkText PreProc -hi link markdownUrl PreProc -hi link markdownCode Constant -hi link markdownCodeBlock Constant -hi link markdownCodeDelimiter Comment -hi link markdownOrderedListMarker Statement -hi link markdownListMarker Statement -hi link markdownBlockquote Special -hi link markdownRule Special - -" python -hi link pythonImport PreProc -hi link pythonFunction Normal -hi link pythonExceptions PreProc -hi link pythonClassVar Type - - -" c / cpp -------------------------------------------------------------------- - -hi link cppStatement Operator -hi link cIncluded cInclude - -" PLUGINS -------------------------------------------------------------------- - -hi AleErrorSign guibg=#31363b guifg=#f67400 gui=NONE -hi AleWarningSign guibg=#31363b guifg=#fdbc4b gui=NONE - diff --git a/vim/syntax/python.vim b/vim/syntax/python.vim index 2c01239..9d47734 100644 --- a/vim/syntax/python.vim +++ b/vim/syntax/python.vim @@ -247,7 +247,7 @@ syn sync maxlines=200 hi link pythonStatement Statement hi link pythonRaiseFromStatement Statement hi link pythonImport Include -hi link pythonFunction Function +hi link pythonFunction Special hi link pythonConditional Conditional hi link pythonRepeat Repeat hi link pythonException Exception