aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-05-29 23:51:13 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-05-29 23:54:56 +1200
commitdce460683072e034282352870fc05064353a4efb (patch)
tree68d48bd97d5ad75ac82f059758286adce2af2280
parentReload vimrc on save (diff)
downloaddotfiles-dce460683072e034282352870fc05064353a4efb.tar.gz
dotfiles-dce460683072e034282352870fc05064353a4efb.zip
Explicitly set colorscheme if sahara fails
-rw-r--r--vim/vimrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/vim/vimrc b/vim/vimrc
index ff8197e0..2852ee57 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -232,7 +232,9 @@ try
colorscheme sahara
set cursorline
catch
+ colorscheme default
set background=dark
+ set nocursorline
endtry
" Space bar scrolls down a page, :next if plugin available