Skip to content

ompugao/ctrlp-kensaku

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

ctrlp-kensaku

CtrlP matcher using lambdaisue/kensaku.vim.

Setup

let g:ctrlp_match_func = {'match': 'ctrlp_kensaku#matcher'}

Installation

For vim-plug plugin manager:

Plug 'vim-denops/denops.vim'
Plug 'lambdalisue/kensaku.vim' 
Plug 'ompugao/ctrlp-kensaku'

Usage

If you want to find a file named in Japanese, add the following lines to your vimrc for example.

function! s:kensaku() abort
  let l:oldmatcher = g:ctrlp_match_func
  let g:ctrlp_match_func = {'match': 'ctrlp_kensaku#matcher'}
  execute("CtrlP")
  let g:ctrlp_match_func = l:oldmatcher
endfunction
command! CtrlPKensakuFiles call <SID>kensaku()

License

MIT

About

ctrlp matcher using lambdalisue/kensaku.vim

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published