aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-10-31 19:39:36 +0800
committerGuangxiong Lin <[email protected]>2022-10-31 19:39:36 +0800
commit4d4a145f8965506e84a5b2937817f8eb0fd99a02 (patch)
treef52461f4fabb6a22009a0fa3965c39abd10029e6
parent8cf9424b14571ad3a451e09dfa0c645d1c00cfca (diff)
downloaddotfiles-4d4a145f8965506e84a5b2937817f8eb0fd99a02.tar.gz
dotfiles-4d4a145f8965506e84a5b2937817f8eb0fd99a02.tar.bz2
dotfiles-4d4a145f8965506e84a5b2937817f8eb0fd99a02.zip
Add new vim plugin
- notational-fzf-vim - todo.txt-vim
-rw-r--r--.vim/after/plugin/minpac.vim4
-rw-r--r--.vim/after/plugin/notational-fzf.vim5
-rw-r--r--.vim/after/plugin/todo.vim1
3 files changed, 10 insertions, 0 deletions
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 <leader>fn :NV<CR>
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