From 4d4a145f8965506e84a5b2937817f8eb0fd99a02 Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Mon, 31 Oct 2022 19:39:36 +0800 Subject: Add new vim plugin - notational-fzf-vim - todo.txt-vim --- .vim/after/plugin/minpac.vim | 4 ++++ .vim/after/plugin/notational-fzf.vim | 5 +++++ .vim/after/plugin/todo.vim | 1 + 3 files changed, 10 insertions(+) create mode 100644 .vim/after/plugin/notational-fzf.vim create mode 100644 .vim/after/plugin/todo.vim diff --git a/.vim/after/plugin/minpac.vim b/.vim/after/plugin/minpac.vim index cf5071d..a2637dd 100644 --- a/.vim/after/plugin/minpac.vim +++ b/.vim/after/plugin/minpac.vim @@ -122,6 +122,10 @@ function! InitMinpac() abort \ 'type': 'start', \ 'do': 'packloadall! | call mkdp#util#install()'}) + " misc + call minpac#add('https://github.com/alok/notational-fzf-vim.git', {'type': 'opt'}) + call minpac#add('https://github.com/freitass/todo.txt-vim.git', {'type': 'opt'}) + let g:minpac_initialized = 1 endfunction diff --git a/.vim/after/plugin/notational-fzf.vim b/.vim/after/plugin/notational-fzf.vim new file mode 100644 index 0000000..afeca6a --- /dev/null +++ b/.vim/after/plugin/notational-fzf.vim @@ -0,0 +1,5 @@ +let g:nv_search_paths = ['~/notes'] + +packadd notational-fzf-vim + +noremap fn :NV diff --git a/.vim/after/plugin/todo.vim b/.vim/after/plugin/todo.vim new file mode 100644 index 0000000..eb79bee --- /dev/null +++ b/.vim/after/plugin/todo.vim @@ -0,0 +1 @@ +packadd todo.txt-vim -- cgit v1.2.3