aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2012-02-17 12:49:23 +1300
committerTom Ryder <tom@sanctum.geek.nz>2012-02-17 12:49:23 +1300
commitc04f2a72fb31b97e62ae7a5602fd170c85528c3d (patch)
tree38a7cfeaa8163284fb9a120e7b705be3c85eacb5 /vim
parentNextag updates. (diff)
downloaddotfiles-c04f2a72fb31b97e62ae7a5602fd170c85528c3d.tar.gz
dotfiles-c04f2a72fb31b97e62ae7a5602fd170c85528c3d.zip
More compatible colorscheme selection.
Diffstat (limited to 'vim')
-rw-r--r--vim/vimrc7
1 files changed, 6 insertions, 1 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 01daa98c..1530547f 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -21,7 +21,12 @@ endif
" Colors
if has("syntax")
syntax enable
- silent! colorscheme sahara
+ set background=dark
+ try
+ colorscheme sahara
+ catch
+ silent! colorscheme torte
+ endtry
if has("folding")
set fillchars=diff:\ ,fold:\ ,vert:\
endif