incsearch-fuzzy.vim
incsearch-fuzzy.vim copied to clipboard
does not work in ubuntu16.04 vim8
my vimrc about incsearch and incsearch-fuzzy settings are in below,but it can not work like the gif when I try to fuzz search string like the gif does,can you help me?
""""""""""start of incsearch""""""""" map / <Plug>(incsearch-forward) map ? <Plug>(incsearch-backward) map g/ <Plug>(incsearch-stay)
set hlsearch let g:incsearch#auto_nohlsearch = 1 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#)
function! s:noregexp(pattern) abort return '\V' . escape(a:pattern, '') endfunction
function! s:config() abort return {'converters': [function('s:noregexp')]} endfunction
noremap
"222222incsearch-fuzzy插件设置 "https://github.com/haya14busa/incsearch-fuzzy.vim "暂时因为看上去没有什么效果而没用它 """""""""start of incsearch-fuzzy""""""""" "fuzzy map z/ <Plug>(incsearch-fuzzy-/) map z? <Plug>(incsearch-fuzzy-?) map zg/ <Plug>(incsearch-fuzzy-stay)
"fuzzyspell map z/ <Plug>(incsearch-fuzzyspell-/) map z? <Plug>(incsearch-fuzzyspell-?) map zg/ <Plug>(incsearch-fuzzyspell-stay)
"Use both fuzzy & fuzzyspell feature
function! s:config_fuzzyall(...) abort
return extend(copy({
\ 'converters': [
\ incsearch#config#fuzzy#converter(),
\ incsearch#config#fuzzyspell#converter()
\ ],
\ }), get(a:, 1, {}))
endfunction
noremap