From d8134d3678ebea9ec313de175d38ea33be4b481a Mon Sep 17 00:00:00 2001 From: Naoaki Ueda Date: Fri, 18 Sep 2020 16:24:55 +0900 Subject: Fix some settings for fuzzy. --- _config/110-ctrlp.vim | 6 ++++++ _config/400-memolist.vim | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/_config/110-ctrlp.vim b/_config/110-ctrlp.vim index a20bc0a..b0955cf 100644 --- a/_config/110-ctrlp.vim +++ b/_config/110-ctrlp.vim @@ -8,3 +8,9 @@ let g:ctrlp_user_command = { \ 2: ['.hg', 'hg --cwd %s locate -I .'], \ }, \ } + +if !empty(globpath(&rtp, 'autoload/memolist.vim')) + nmap mf :exe "CtrlP" g:memolist_path + nmap mc :MemoNew + nmap mg :MemoGrep +endif diff --git a/_config/400-memolist.vim b/_config/400-memolist.vim index ca51c96..8bf15fb 100644 --- a/_config/400-memolist.vim +++ b/_config/400-memolist.vim @@ -11,5 +11,4 @@ nnoremap mg :MemoGrep let g:memolist_memo_suffix = "md" let g:memolist_memo_date = "%Y-%m-%d %H:%M" let g:memolist_qfixgrep = 0 -let g:memolist_fzf = 1 let g:memolist_template_dir_path = $HOME . '/.config/memo/template' -- cgit v1.2.3-54-g00ecf