Remove enter to clear highlight, interferes with quickfix window

This commit is contained in:
Yan Pritzker
2012-04-15 12:51:11 -07:00
parent 1d89bbbf81
commit 46daacbaca
2 changed files with 0 additions and 4 deletions

View File

@@ -172,9 +172,6 @@ nmap <silent> ,vc yy:<C-f>p<C-c><CR>
" Type ,hl to toggle highlighting on/off, and show current value.
noremap ,hl :set hlsearch! hlsearch?<CR>
" clear highlights by hitting enter
noremap <CR> :nohlsearch<CR>
" Apple-* Highlight all occurrences of current word (like '*' but without moving)
" http://vim.wikia.com/wiki/Highlight_all_search_pattern_matches
nnoremap <D-*> :let @/='\<<C-R>=expand("<cword>")<CR>\>'<CR>:set hls<CR>