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:
parent
524272f063
commit
179840e4c0
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue