From ca5dd80e079fa2bc611a55b4b7bb5cb6701aedb3 Mon Sep 17 00:00:00 2001 From: Eric Renfro Date: Wed, 17 Aug 2022 21:46:09 -0400 Subject: [PATCH] Updated gvim alias to use nvim --- .local/dotfiles/aliases/gvim.zsh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.local/dotfiles/aliases/gvim.zsh b/.local/dotfiles/aliases/gvim.zsh index 1ab6378..2915149 100644 --- a/.local/dotfiles/aliases/gvim.zsh +++ b/.local/dotfiles/aliases/gvim.zsh @@ -2,6 +2,8 @@ case `uname` in Linux) if whence -p nvim-gtk > /dev/null; then alias vim=nvim-gtk + elif whence -p nvim > /dev/null; then + alias vim=nvim elif whence -p gvim > /dev/null; then alias vim=gvim fi