From 80c39a0d91f38bb62fd584164ac887252aaad6b5 Mon Sep 17 00:00:00 2001 From: Dustin Swan Date: Tue, 19 Feb 2013 16:16:11 -0600 Subject: [PATCH] Adding a test around my vim mouse settings to see if it is available --- vimrc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/vimrc b/vimrc index 856bede..81c0b2b 100644 --- a/vimrc +++ b/vimrc @@ -50,8 +50,10 @@ Bundle 'bitc/vim-hdevtools' filetype plugin indent on " last Vundle requirement " mouse -set mouse=a -set ttymouse=xterm +if has("mouse") + set mouse=a + set ttymouse=xterm +endif " general goodness set shell=/bin/bash " Syntastic breaks when trying to write to /var/folders