2024-06-14 20:48:53 +00:00
|
|
|
#!/usr/bin/env sh
|
|
|
|
|
2024-02-05 13:55:09 +00:00
|
|
|
# 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
|
2024-06-14 20:48:53 +00:00
|
|
|
alias vn='nvim +"lua require \"zk.commands\".get(\"ZkCd\")()" +"edit ~/documents/notes/index.md"'
|
2024-02-05 13:55:09 +00:00
|
|
|
fi
|