darkcloud-nvimconfig/vim/config/plugins/incsearch.vim

8 lines
220 B
VimL
Raw Normal View History

"use incsearch in place of the default search
map / <Plug>(incsearch-forward)
map ? <Plug>(incsearch-backward)
map g/ <Plug>(incsearch-stay)
"n and N behavioru is consistant
let g:incsearch#consistent_n_direction = 1