From 46daacbacafe1bdcd0af323a6a810c219ded750b Mon Sep 17 00:00:00 2001 From: Yan Pritzker Date: Sun, 15 Apr 2012 12:51:11 -0700 Subject: [PATCH] Remove enter to clear highlight, interferes with quickfix window --- README.md | 1 - vim/plugin/settings/yadr-keymap.vim | 3 --- 2 files changed, 4 deletions(-) diff --git a/README.md b/README.md index 9f727e9..deb2d50 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/vim/plugin/settings/yadr-keymap.vim b/vim/plugin/settings/yadr-keymap.vim index a16658d..f0ed917 100644 --- a/vim/plugin/settings/yadr-keymap.vim +++ b/vim/plugin/settings/yadr-keymap.vim @@ -172,9 +172,6 @@ nmap ,vc yy:p " Type ,hl to toggle highlighting on/off, and show current value. noremap ,hl :set hlsearch! hlsearch? -" clear highlights by hitting enter -noremap :nohlsearch - " Apple-* Highlight all occurrences of current word (like '*' but without moving) " http://vim.wikia.com/wiki/Highlight_all_search_pattern_matches nnoremap :let @/='\<=expand("")\>':set hls