10 lines
325 B
Bash
10 lines
325 B
Bash
|
# v shorthand for neovim
|
||
|
if exist nvim; then
|
||
|
alias v="nvim"
|
||
|
alias vim="nvim"
|
||
|
|
||
|
# open notes with my vim zettelkasten plugin
|
||
|
# TODO better implementation conditional on zk & zettelkasten existing
|
||
|
alias vn='nvim +"lua require \"zk.commands\".get(\"ZkCd\")()" +"lua require \"zettelkasten\".index_open()"'
|
||
|
fi
|