From 00896c7be6d561054d2e8c6725ed1576dfb31735 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 4 Oct 2015 22:29:29 -0400 Subject: [PATCH] alias vim='nvim' if neovim is installed --- zsh/aliases.zsh | 1 + 1 file changed, 1 insertion(+) diff --git a/zsh/aliases.zsh b/zsh/aliases.zsh index c6d4f29a..211ee31c 100644 --- a/zsh/aliases.zsh +++ b/zsh/aliases.zsh @@ -45,6 +45,7 @@ if is-callable 'transmission-remote'; then fi # Editors +is-callable 'nvim' && alias vim='nvim' v() { vim ${@:-.}; } # Open in vim e() { emacsclient -n ${@:-.}; } # Open in emacs (daemon) ee() { # emacs in project root