Mercurial > vim
diff runtime/vimrc_example.vim @ 1668:0b796e045c42 v7.2b.000
updated for version 7.2b-000
author | vimboss |
---|---|
date | Sun, 13 Jul 2008 17:41:49 +0000 |
parents | 58cad056e608 |
children | 7bc41231fbc7 |
line wrap: on
line diff
--- 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.