From c3990ba0e6fdc24bda029d55cd74ce00eda85b10 Mon Sep 17 00:00:00 2001 From: Shougo Matsushita Date: Tue, 4 Oct 2016 23:09:41 +0900 Subject: vim-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) https://github.com/vim/vim/commit/54f1b7abf8c48b1dd997202258d1d0673ed4bd29 --- runtime/vimrc_example.vim | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'runtime/vimrc_example.vim') diff --git a/runtime/vimrc_example.vim b/runtime/vimrc_example.vim index c53dde8ceb..17cba123a8 100644 --- a/runtime/vimrc_example.vim +++ b/runtime/vimrc_example.vim @@ -19,6 +19,12 @@ inoremap u " Switch syntax highlighting on syntax on +" Also switch on highlighting the last used search pattern. +set hlsearch + +" I like highlighting strings inside C comments. +let c_comment_strings=1 + " Enable file type detection. " Use the default filetype settings, so that mail gets 'textwidth' set to 72, " 'cindent' is on in C files, etc. -- cgit