Permalink
Browse files

dont source csapprox if we dont have gui support

  • Loading branch information...
scrooloose committed Oct 7, 2008
1 parent 77d5cba commit 332c67787b76d69b1fc97e7b127fce7e75a34906
Showing with 5 additions and 0 deletions.
  1. +5 −0 vimrc
View
5 vimrc
@@ -79,6 +79,11 @@ let g:rs = '<+'
let g:rsd = '<+='
let g:re = '+>'
+"dont load csapprox if we no gui support - silences an annoying warning
+if !has("gui")
+ let g:CSApprox_loaded = 1
+endif
+
"make <c-l> clear the highlight as well as redraw
nnoremap <C-L> :nohls<CR><C-L>
inoremap <C-L> <C-O>:nohls<CR>

0 comments on commit 332c677

Please sign in to comment.