sh: Add vim personal knowledge base alias

Added alias `vw` to open the index page of my PKB (essentially the start
page of my wiki) using my zettelkasten.nvim plugin.
This commit is contained in:
Marty Oehme 2022-08-10 09:01:09 +02:00
parent 524272f063
commit 179840e4c0
Signed by: Marty
GPG key ID: B7538B8F50A1C800

View file

@ -10,8 +10,9 @@ unalias -a
# v shorthand for neovim
if exist nvim; then
alias v="nvim"
alias vs="nvim -c 'ScratchPad'"
alias vim="nvim"
alias vs="nvim -c 'ScratchPad'" # open an empty 'scratchpad' which simply disappears after use
alias vw="nvim -c \"lua require 'zettelkasten'.index_open()\"" # open to personal wiki
elif exist vim; then
alias v="vim"
else