summaryrefslogtreecommitdiffstats
path: root/runtime/vimrc_example.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2008-07-13 17:41:49 +0000
committerBram Moolenaar <Bram@vim.org>2008-07-13 17:41:49 +0000
commitc236c16d0884c7d6cdc4dbaddb8cb3992085f83e (patch)
tree7d87344cdf07b6b9234abe26ccef39fbbee54f63 /runtime/vimrc_example.vim
parentb316376b4893ac3ae62f7f33c483b28b7fc147c0 (diff)
updated for version 7.2b-000v7.2b.000
Diffstat (limited to 'runtime/vimrc_example.vim')
-rw-r--r--runtime/vimrc_example.vim6
1 files changed, 4 insertions, 2 deletions
diff --git a/runtime/vimrc_example.vim b/runtime/vimrc_example.vim
index a2a891c167..2c0de3d8a6 100644
--- a/runtime/vimrc_example.vim
+++ b/runtime/vimrc_example.vim
@@ -1,7 +1,7 @@
" An example for a vimrc file.
"
" Maintainer: Bram Moolenaar <Bram@vim.org>
-" Last change: 2008 Jun 16
+" Last change: 2008 Jul 02
"
" To use it, copy it to
" for Unix and OS/2: ~/.vimrc
@@ -42,7 +42,9 @@ map Q gq
inoremap <C-U> <C-G>u<C-U>
" In many terminal emulators the mouse works just fine, thus enable it.
-set mouse=a
+if has('mouse')
+ set mouse=a
+endif
" Switch syntax highlighting on, when the terminal has colors
" Also switch on highlighting the last used search pattern.