From 7267320d1d84f1695483875ea75b1dc3ad75f9f4 Mon Sep 17 00:00:00 2001 From: Dennis Hodapp Date: Sun, 12 Oct 2014 21:03:28 -0500 Subject: [PATCH] Add support for mouse if it is available --- vimrcs/basic.vim | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vimrcs/basic.vim b/vimrcs/basic.vim index 0ad89416..57b9ac9d 100644 --- a/vimrcs/basic.vim +++ b/vimrcs/basic.vim @@ -102,6 +102,11 @@ set hid set backspace=eol,start,indent set whichwrap+=<,>,h,l +" In many terminal emulators the mouse works just fine, thus enable it. +if has('mouse') + set mouse=a +endif + " Ignore case when searching set ignorecase