Skip to content

Instantly share code, notes, and snippets.

@aliev
Created August 23, 2015 11:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aliev/2820a218b5a7403739b6 to your computer and use it in GitHub Desktop.
Save aliev/2820a218b5a7403739b6 to your computer and use it in GitHub Desktop.
" | incsearch.vim | / ? g/ n N * # g* g# | {{{
let g:incsearch#auto_nohlsearch = 1
map / <Plug>(incsearch-forward)
map ? <Plug>(incsearch-backward)
map g/ <Plug>(incsearch-stay)
map n <Plug>(incsearch-nohl-n)
map N <Plug>(incsearch-nohl-N)
map * <Plug>(incsearch-nohl-*)
map # <Plug>(incsearch-nohl-#)
map g* <Plug>(incsearch-nohl-g*)
map g# <Plug>(incsearch-nohl-g#)
" }}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment