https://superuser.com/questions/543279/no-mouse-support-mouse-a-error-in-vim
authorOleksandr Gavenko <gavenkoa@gmail.com>
Tue, 14 May 2019 00:49:35 +0300
changeset 925 8a010eb167ff
parent 924 c171d2b1f725
child 926 1fc6f61f5d97
https://superuser.com/questions/543279/no-mouse-support-mouse-a-error-in-vim
.vimrc
--- a/.vimrc	Mon Apr 29 03:21:23 2019 +0300
+++ b/.vimrc	Tue May 14 00:49:35 2019 +0300
@@ -33,9 +33,11 @@
 " Hide buffers instead of closing them.
 set hidden
 
-set mouse=a
-set mousemodel=popup
-set mousehide
+if has('mouse')
+  set mouse=a
+  set mousemodel=popup
+  set mousehide
+endif
 
 " Number of lines of history to remember
 set history=1000