Permalink
Browse files

Move hlsearch settings to be with search settings

  • Loading branch information...
1 parent f71d7c0 commit 4dcc83d898f4ac7c2748ef6df1424e432d61e2fd @amarshall committed Apr 15, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 vimrc
View
6 vimrc
@@ -37,6 +37,9 @@ autocmd BufReadPost fugitive://* set bufhidden=delete
set ignorecase
set incsearch
set smartcase
+set hlsearch
+nnoremap <silent> <leader><leader>h :set hlsearch!<CR>
+nnoremap <silent> <leader>h :nohlsearch<CR>
" Indentation settings (soft tabs, two spaces)
set autoindent
@@ -67,9 +70,6 @@ end
" Highlight if there is color
if(&t_Co > 2 || has("gui_running")) && !exists("syntax_on")
syntax on
- set hlsearch
- nnoremap <silent> <leader><leader>h :set hlsearch!<CR>
- nnoremap <silent> <leader>h :nohlsearch<CR>
endif
" Copy current file path to system pasteboard.

0 comments on commit 4dcc83d

Please sign in to comment.