Hi Bram and List,

'hlsearch' option is not just for GUI Vim.
This option could use for CUI Vim too.
So that, I removed "set hlsearch" from runtime/gvimrc_example.vim.

In the current situation, If you start the GUI Vim and set "set nohlsearch" in 
.vimrc, it will be reset by gvimrc_example.vim.

By the way, set the "set hlsearch" conditionally at runtime/vimrc_example.vim 
in line 54.

--
Best regards,
Hirohito Higashi (a.k.a. h_east)

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.
diff --git a/runtime/gvimrc_example.vim b/runtime/gvimrc_example.vim
index 5a5197e..e1354fc 100644
--- a/runtime/gvimrc_example.vim
+++ b/runtime/gvimrc_example.vim
@@ -35,9 +35,6 @@ if version >= 500
     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'

Raspunde prin e-mail lui