]> git.sthu.org Git - shutils.git/commitdiff
vim: new colorscheme, also for terminal vim
authorStefan Huber <shuber@sthu.org>
Wed, 5 Dec 2012 22:02:45 +0000 (23:02 +0100)
committerStefan Huber <shuber@sthu.org>
Wed, 5 Dec 2012 22:02:45 +0000 (23:02 +0100)
dotfiles/vim/.gvimrc
dotfiles/vim/.vim/colors/shuber-wombat.vim [new file with mode: 0644]
dotfiles/vim/.vimrc

index 3c6d7ab484a5cd8f7b11ecf08aea8c623281d3a4..1b2d6e690ed361c99ce97428dcc18c6ebc3d4ac4 100644 (file)
@@ -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 (file)
index 0000000..e722877
--- /dev/null
@@ -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
+
index 1e40b8ba977d0a2e443cd5da60d2fb903d95a99d..739ae07cf327d4bcfbd6b53d23d2e39b0059a296 100644 (file)
@@ -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
 """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""