From 66070266ef26fc1ffc2bc569513335be5cecd38b Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Sun, 25 Feb 2024 11:17:46 +0800 Subject: Try zk --- .gitmodules | 3 +++ .vim/after/plugin/noteutil.vim | 2 ++ .vim/after/plugin/zk.vim | 3 +++ .vim/pack/submodule/opt/zk.vim | 1 + README.md | 2 ++ 5 files changed, 11 insertions(+) create mode 100644 .vim/after/plugin/zk.vim create mode 160000 .vim/pack/submodule/opt/zk.vim diff --git a/.gitmodules b/.gitmodules index adb13b0..a1062f9 100644 --- a/.gitmodules +++ b/.gitmodules @@ -64,3 +64,6 @@ [submodule ".vim/pack/submodule/start/vim-wayland-clipboard"] path = .vim/pack/submodule/start/vim-wayland-clipboard url = https://github.com/jasonccox/vim-wayland-clipboard.git +[submodule ".vim/pack/submodule/opt/zk.vim"] + path = .vim/pack/submodule/opt/zk.vim + url = https://github.com/igxlin/zk.vim.git diff --git a/.vim/after/plugin/noteutil.vim b/.vim/after/plugin/noteutil.vim index 9747595..191f486 100644 --- a/.vim/after/plugin/noteutil.vim +++ b/.vim/after/plugin/noteutil.vim @@ -1,3 +1,5 @@ +finish + command! NoteutilToday call noteutil#open( \ 'journal --date today') command! NoteutilTodayWeekly call noteutil#open( diff --git a/.vim/after/plugin/zk.vim b/.vim/after/plugin/zk.vim new file mode 100644 index 0000000..9795a08 --- /dev/null +++ b/.vim/after/plugin/zk.vim @@ -0,0 +1,3 @@ +let g:zk_enable_omnicompl = 1 + +packadd! zk.vim diff --git a/.vim/pack/submodule/opt/zk.vim b/.vim/pack/submodule/opt/zk.vim new file mode 160000 index 0000000..4e1585b --- /dev/null +++ b/.vim/pack/submodule/opt/zk.vim @@ -0,0 +1 @@ +Subproject commit 4e1585bb86f95a6d8427c6bbedd1abe05cfa1a66 diff --git a/README.md b/README.md index 57269c6..ff90ea5 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,8 @@ Languages specfic: Improve javascript syntax highlight. - [vim-terraform](https://github.com/hashivim/vim-terraform): Improve terraform syntax highlight. +- [zk.vim](https://github.com/igxlin/zk.vim): + Use zk to help editing markdown notes. Editing: -- cgit v1.2.3