feat(shell): add neovim specific helpers

This commit is contained in:
2023-04-21 15:12:45 +01:00
parent 415fc774b1
commit b5a3dc2e4e
2 changed files with 12 additions and 0 deletions

11
zsh/neovim.zsh Normal file
View File

@@ -0,0 +1,11 @@
#
# NeoVim setup.
#
avim() {
NVIM_PROFILE="astro" nvim "$@"
}
cvim() {
NVIM_PROFILE="nvchad" nvim "$@"
}

1
zshrc
View File

@@ -130,6 +130,7 @@ source "$DOTZSH/copilot.zsh"
source "$DOTZSH/emacs.zsh"
source "$DOTZSH/fzf.zsh"
source "$DOTZSH/less.zsh"
source "$DOTZSH/neovim.zsh"
source "$DOTZSH/nix.zsh"
source "$DOTZSH/tmux.zsh"