heetch / neovim-config

16 stars 1 forks source link

Fix binding syntax for clearing search highlight #17

Closed tomahh closed 8 years ago

tomahh commented 8 years ago

I guess a typo slipped on this one, binding was using a semi-colon in place of a full one.


I want to also use this PR to mention I have this in my private.vim

map <cr> :nohlsearch<CR>:echo 'Search highlight cleared'<CR>
jhchabran commented 8 years ago

Haha. Nice catch, thanks dude :)

I'm not sure that <CR> to clear search results is as forward as it // though.