aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2024-02-25 11:17:46 +0800
committerGuangxiong Lin <[email protected]>2024-02-25 11:17:46 +0800
commit66070266ef26fc1ffc2bc569513335be5cecd38b (patch)
treed9e71b76e07d40fe19cd3cfaf363dff1c9f7ddf8
parent5e33f2eda25252a81835e7fa443ab6bac1796592 (diff)
downloaddotfiles-66070266ef26fc1ffc2bc569513335be5cecd38b.tar.gz
dotfiles-66070266ef26fc1ffc2bc569513335be5cecd38b.tar.bz2
dotfiles-66070266ef26fc1ffc2bc569513335be5cecd38b.zip
Try zk
-rw-r--r--.gitmodules3
-rw-r--r--.vim/after/plugin/noteutil.vim2
-rw-r--r--.vim/after/plugin/zk.vim3
m---------.vim/pack/submodule/opt/zk.vim0
-rw-r--r--README.md2
5 files changed, 10 insertions, 0 deletions
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
+Subproject 4e1585bb86f95a6d8427c6bbedd1abe05cfa1a6
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: