summaryrefslogtreecommitdiff
path: root/runtime/gvimrc_example.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-04-05 22:07:04 +0200
committerBram Moolenaar <Bram@vim.org>2016-04-05 22:07:04 +0200
commit54f1b7abf8c48b1dd997202258d1d0673ed4bd29 (patch)
tree3d01e3df0d01ff8f4d84b44af0add0883f29e2f1 /runtime/gvimrc_example.vim
parentf80663f17b2f2499b45eb4467088704c8298c385 (diff)
downloadvim-54f1b7abf8c48b1dd997202258d1d0673ed4bd29.zip
patch 7.4.1714
Problem: Non-GUI specific settings in the gvimrc_example file. Solution: Move some settings to the vimrc_example file. Remove setting 'hlsearch' again. (suggested by Hirohito Higashi)
Diffstat (limited to 'runtime/gvimrc_example.vim')
-rw-r--r--runtime/gvimrc_example.vim11
1 files changed, 3 insertions, 8 deletions
diff --git a/runtime/gvimrc_example.vim b/runtime/gvimrc_example.vim
index 5a5197e99..fa0f6851d 100644
--- a/runtime/gvimrc_example.vim
+++ b/runtime/gvimrc_example.vim
@@ -1,8 +1,9 @@
" An example for a gvimrc file.
-" The commands in this are executed when the GUI is started.
+" The commands in this are executed when the GUI is started, after the vimrc
+" has been executed.
"
" Maintainer: Bram Moolenaar <Bram@vim.org>
-" Last change: 2001 Sep 02
+" Last change: 2016 Apr 05
"
" To use it, copy it to
" for Unix and OS/2: ~/.gvimrc
@@ -27,17 +28,11 @@ map! <S-Insert> <MiddleMouse>
" Only do this for Vim version 5.0 and later.
if version >= 500
- " I like highlighting strings inside C comments
- let c_comment_strings=1
-
" Switch on syntax highlighting if it wasn't on yet.
if !exists("syntax_on")
syntax on
endif
- " Switch on search pattern highlighting.
- set hlsearch
-
" For Win32 version, have "K" lookup the keyword in a help file
"if has("win32")
" let winhelpfile='windows.hlp'