From: Stefan Huber Date: Wed, 5 Dec 2012 22:02:45 +0000 (+0100) Subject: vim: new colorscheme, also for terminal vim X-Git-Url: https://git.sthu.org/?a=commitdiff_plain;h=e24bd8b17586664e83ea84ea35ea8a05a486d6a8;p=shutils.git vim: new colorscheme, also for terminal vim --- diff --git a/dotfiles/vim/.gvimrc b/dotfiles/vim/.gvimrc index 3c6d7ab..1b2d6e6 100644 --- a/dotfiles/vim/.gvimrc +++ b/dotfiles/vim/.gvimrc @@ -10,10 +10,9 @@ set lines=25 set columns=85 set cursorline -"set mousehide -set nomousehide +set mousehide -colorscheme shuber +colorscheme shuber-wombat function SetPresentationFont(mode) diff --git a/dotfiles/vim/.vim/colors/shuber-wombat.vim b/dotfiles/vim/.vim/colors/shuber-wombat.vim new file mode 100644 index 0000000..e722877 --- /dev/null +++ b/dotfiles/vim/.vim/colors/shuber-wombat.vim @@ -0,0 +1,62 @@ +" Maintainer: Lars H. Nielsen (dengmao@gmail.com) +" Last Change: January 22 2007 + +set background=dark + +hi clear + +if exists("syntax_on") + syntax reset +endif + +let colors_name = "shuber-wombat" + + +" Vim >= 7.0 specific colors +if version >= 700 + hi CursorLine guibg=#2d2d2d + hi CursorColumn guibg=#2d2d2d + hi ColorColumn guibg=#2d2d2d + hi MatchParen guifg=#f6f3e8 guibg=#857b6f gui=bold + hi Pmenu guifg=#f6f3e8 guibg=#444444 + hi PmenuSel guifg=#000000 guibg=#cae682 +endif + +" General colors +hi Cursor guifg=NONE guibg=#656565 gui=none +"hi Normal guifg=#f6f3e8 guibg=#242424 gui=none +hi Normal guifg=white guibg=#202020 gui=none +hi NonText guifg=#808080 guibg=#303030 gui=none +hi LineNr guifg=#857b6f guibg=#000000 gui=none +hi StatusLine guifg=#f6f3e8 guibg=#444444 gui=italic +hi StatusLineNC guifg=#857b6f guibg=#444444 gui=none +hi VertSplit guifg=#444444 guibg=#444444 gui=none +hi Folded guibg=#384048 guifg=#a0a8b0 gui=none +hi Title guifg=#f6f3e8 guibg=NONE gui=bold +hi Visual guifg=#f6f3e8 guibg=#444444 gui=none +hi SpecialKey guifg=#808080 guibg=#343434 gui=none + +" Syntax highlighting +hi Comment guifg=#99968b gui=italic +hi Todo guifg=#8f8f8f gui=italic +hi Constant guifg=#e5786d gui=none +hi String guifg=#95e454 gui=italic +hi Identifier guifg=#cae682 gui=none +hi Function guifg=#cae682 gui=none +hi Type guifg=#cae682 gui=bold +hi Statement guifg=#8ac6f2 gui=bold +hi Keyword guifg=#8ac6f2 gui=none +hi PreProc guifg=#e5786d gui=none +hi Number guifg=#e5786d gui=none +"hi Special guifg=#e7f6da gui=none +hi Special guifg=#cae682 gui=none + +hi mailQuoted1 guifg=#e5786d gui=italic +hi mailQuoted2 guifg=#cae682 gui=none +hi mailQuoted3 guifg=#8f8f8f gui=italic +hi mailQuoted4 guifg=#e5786d gui=italic +hi mailQuoted5 guifg=#cae682 gui=none +hi mailQuoted6 guifg=#8f8f8f gui=italic + +hi BadWhitespace guibg=red + diff --git a/dotfiles/vim/.vimrc b/dotfiles/vim/.vimrc index 1e40b8b..739ae07 100644 --- a/dotfiles/vim/.vimrc +++ b/dotfiles/vim/.vimrc @@ -67,6 +67,15 @@ au Filetype python,tex,c,cpp,cs,objc,java :DetectIndent "let g:detectindent_preferred_indent = 4 + +" Use 256 colors +set t_Co=256 +let g:CSApprox_attr_map = { 'bold' : 'bold', 'italic' : '', 'sp' : '' } +colorscheme shuber-wombat + +set cursorline + + """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " fortran """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""