Remove enter to clear highlight, interferes with quickfix window
This commit is contained in:
parent
1d89bbbf81
commit
46daacbaca
@ -285,7 +285,6 @@ files contain key mappings as well (TODO: probably will move them out to skwp-ke
|
||||
* `,K` - GitGrep the current word up to next exclamation point (useful for ruby foo! methods)
|
||||
* `Cmd-*` - highlight all occurrences of current word (similar to regular `*` except doesn't move)
|
||||
* `,hl` - toggle search highlight on and off
|
||||
* `Enter` - hit enter in normal mode to unhighlight search
|
||||
* `,gg` - GitGrep command line, type between quotes
|
||||
* `,gd` - GitGrep def (greps for 'def [function name]') when cursor is over the function name
|
||||
* `,gcp` - GitGrep Current Partial to find references to the current view partial
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user