Update zk preview

master
Hektor Misplon 2023-05-15 13:36:57 +02:00
parent 765c6d907f
commit 27aef5502d
1 changed files with 2 additions and 1 deletions

3
.vimrc
View File

@ -482,7 +482,8 @@ au FileType javascript set mps+==:;
au BufNewFile,BufRead */.vscode/*.json setlocal filetype=jsonc au BufNewFile,BufRead */.vscode/*.json setlocal filetype=jsonc
" Hacky way to pass on active note to script for automated for HTML preview " Hacky way to pass on active note to script for automated for HTML preview
au BufEnter /home/h/.zk/*.md silent exe '!echo %:t > /home/h/.local/share/nvim/plugged/bro/current-page' au BufEnter /home/h/.zk/*.md silent exe '!echo % > /home/h/.zk/current-zettel.txt'
au BufEnter /home/h/.zk/*.md silent exe '!cat %:r.html > /home/h/.zk/current-zettel-content.html'
" }}} " }}}