aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2023-10-17 21:54:50 +0800
committerGuangxiong Lin <[email protected]>2023-10-17 21:54:50 +0800
commitbdd480be4dfc936a480aab992b8cc62e6b30f8b8 (patch)
tree0bd4da8d94114721617f6d22ee33687642931e42
parent1afb24757b0877fc802791ccb1f47687e21119d5 (diff)
downloaddotfiles-bdd480be4dfc936a480aab992b8cc62e6b30f8b8.tar.gz
dotfiles-bdd480be4dfc936a480aab992b8cc62e6b30f8b8.tar.bz2
dotfiles-bdd480be4dfc936a480aab992b8cc62e6b30f8b8.zip
Add plugin noteutil
-rw-r--r--.vim/after/plugin/minpac.vim2
-rw-r--r--.vim/after/plugin/noteutil.vim2
2 files changed, 4 insertions, 0 deletions
diff --git a/.vim/after/plugin/minpac.vim b/.vim/after/plugin/minpac.vim
index 6165b2b..d76b1bd 100644
--- a/.vim/after/plugin/minpac.vim
+++ b/.vim/after/plugin/minpac.vim
@@ -104,6 +104,8 @@ function! InitMinpac() abort
" misc
call minpac#add('https://github.com/freitass/todo.txt-vim.git', {'type': 'opt'})
call minpac#add('https://github.com/ntpeters/vim-better-whitespace.git', {'type': 'opt'})
+ call minpac#add(
+ \ 'https://github.com/igxlin/noteutil', {'type': 'start'})
let g:minpac_initialized = 1
endfunction
diff --git a/.vim/after/plugin/noteutil.vim b/.vim/after/plugin/noteutil.vim
new file mode 100644
index 0000000..ebb8952
--- /dev/null
+++ b/.vim/after/plugin/noteutil.vim
@@ -0,0 +1,2 @@
+command! NoteutilToday call noteutil#quickfix(
+ \ 'ls --journal-only --date today')