Commits

Anonymous committed d0be059

Custom vim colorscheme, extended vimrc.

Comments (0)

Files changed (3)

 set guifont=Monospace\ 9
+set guioptions-=m
+set guioptions-=T

.vim/colors/custom.vim

+"
+" my colorscheme
+" ==============
+"
+" author: Sören Wegener
+"
+set background=dark
+
+hi clear
+if exists("syntax_on")
+    syntax reset
+endif
+let g:colors_name = "custom"
+
+hi Comment      guifg=#aaaaaa
+hi Constant     guifg=#ff77ff
+hi ColorColumn                guibg=#550000
+hi Error                      guibg=#ff0000
+hi Exception    guifg=#ff00ff term=underline
+hi Function     guifg=#00ffff
+hi Identifier   guifg=#ff00ff
+hi Keyword      guifg=#16ff1a
+hi LineNr       guifg=#d9d78c
+hi Normal       guifg=#ffffff guibg=#000000
+hi Number       guifg=#46bdff
+hi NonText      guifg=#888888 guibg=#000000
+hi PreProc      guifg=#dd0000
+hi Search       guifg=#000000 guibg=#ffff00
+hi Special      guifg=#ee00ee
+hi Statement    guifg=#ff0000
+hi String       guifg=#eeee00
+hi Todo         guifg=#880000 guibg=#ffff00
+hi Type         guifg=#00ff88
+hi Visual       guifg=#000000 guibg=#ffffff
 filetype off
 "call pathogen#runtime_append_all_bundles()
 syntax on
-colorscheme native
+colorscheme custom
 set encoding=utf-8
 nnoremap / /\v
 vnoremap / /\v
 let g:miniBufExplMapWindowNavVim = 1
 let g:miniBufExplMapWindowNavArrows = 1
 let g:miniBufExplMapCTabSwitchBufs = 1
-let g:miniBufExplModSelTarget = 1 
+let g:miniBufExplModSelTarget = 1
 autocmd BufNewFile,BufRead *.less setlocal ft=css
 autocmd FileType html setlocal shiftwidth=2 tabstop=4 softtabstop=2
 autocmd FileType htmldjango setlocal shiftwidth=2 tabstop=4 softtabstop=2
 set wildmode=list:longest,full
 " mouse for local terminal
 set mouse=nvc
+" highlight trailing spaces (not for the line which is currently edited)
+" http://vim.wikia.com/wiki/Highlight_unwanted_spaces
+au BufWinEnter * match Error / \+$/
+au InsertEnter * match Error / \+\%#\@<!$/
+au InsertLeave * match Error / \+$/
+" highlight pythons self
+autocmd FileType python syn keyword Keyword self
+" XXX: vim thinks pythons True and False are functions
+autocmd FileType python syn keyword Boolean True
+autocmd FileType python syn keyword Boolean False
+autocmd FileType python syn keyword Boolean None