summaryrefslogtreecommitdiff
path: root/_config/400-memolist.vim
blob: ca51c96aeb5714ae112e476489d547cea4a5aa7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
if empty(globpath(&rtp, 'autoload/memolist.vim'))
  finish
endif

let g:memolist_path = $HOME . '/.config/memo/_posts'

nnoremap <Leader>mn  :MemoNew<CR>
nnoremap <Leader>ml  :MemoList<CR>
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'