summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaoaki Ueda <uedan@solutionware.jp>2020-09-18 16:24:55 +0900
committerNaoaki Ueda <uedan@solutionware.jp>2020-09-18 16:24:55 +0900
commitd8134d3678ebea9ec313de175d38ea33be4b481a (patch)
tree4e61f6fd68eb84f994d3e8e876fee0578c12f058
parent9779e069f6c1401fb81166b9781422a0ee37f1d2 (diff)
downloadvimrc-d8134d3678ebea9ec313de175d38ea33be4b481a.tar.gz
vimrc-d8134d3678ebea9ec313de175d38ea33be4b481a.tar.bz2
vimrc-d8134d3678ebea9ec313de175d38ea33be4b481a.zip
Fix some settings for fuzzy.
-rw-r--r--_config/110-ctrlp.vim6
-rw-r--r--_config/400-memolist.vim1
2 files changed, 6 insertions, 1 deletions
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 <Leader>mf :exe "CtrlP" g:memolist_path<cr><f5>
+ nmap <Leader>mc :MemoNew<cr>
+ nmap <Leader>mg :MemoGrep<cr>
+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 <Leader>mg :MemoGrep<CR>
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'