summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-08-23 13:11:35 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-08-23 13:11:35 +0200
commitb387349cdd89d5535fcd37932782c968ad306472 (patch)
tree43a26a8b6d45bf416c5f1fc125298afbe8b8912f
parent78374ee71389b52a8f1c95cddba02b6dbbcec704 (diff)
downloadvim-b387349cdd89d5535fcd37932782c968ad306472.zip
vim-b387349cdd89d5535fcd37932782c968ad306472.tar.gz
fix colorscheme
-rw-r--r--vimrc16
1 files changed, 11 insertions, 5 deletions
diff --git a/vimrc b/vimrc
index 3cf89a5..e5cb577 100644
--- a/vimrc
+++ b/vimrc
@@ -4,11 +4,11 @@ call pathogen#infect()
" color scheme
" set t_Co=256
-" if !empty($DISPLAY)
-if &t_Co >= 256 || has("gui_running")
- syntax on
- set hlsearch
- set background=dark
+" if &t_Co >= 256 || has("gui_running")
+syntax on
+set hlsearch
+set background=dark
+if !empty($DISPLAY)
let g:solarized_termtrans=1
let g:solarized_termcolors=256
let g:solarized_contrast="high"
@@ -18,6 +18,12 @@ if &t_Co >= 256 || has("gui_running")
" colorscheme desert256
" colorscheme hemisu
" colorscheme neverland2
+ " -> Visual Mode
+ hi Visual ctermbg=0 ctermfg=215 cterm=none
+ hi VisualNOS ctermbg=0 ctermfg=241 cterm=none
+ " -> Search
+ hi search ctermbg=241 ctermfg=227 cterm=none
+ hi incsearch ctermbg=241 ctermfg=227 cterm=none
else
colorscheme adobe
endif