From 2571676f0851b2aa6a889bf8263a255385386a48 Mon Sep 17 00:00:00 2001 From: Alex Karle Date: Wed, 5 Jun 2019 23:23:24 -0400 Subject: [PATCH] [bash] alias `v` as `(n)vim` I used to alias `vi(m)` to `nvim`, but this makes it harder to run stock Vim should I want to do so for plugin debugging, etc. Plus, think of all the keystrokes I can save by not typing "vim" all the time :) --- bash/aliases | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bash/aliases b/bash/aliases index 33a3e94..a3ea111 100644 --- a/bash/aliases +++ b/bash/aliases @@ -43,8 +43,9 @@ fi # Alias vim / vi to nvim if there if [ -x "$(command -v nvim)" ]; then - alias vi="nvim" - alias vim="nvim" + alias v="nvim" +else + alias v="vim" fi # Other Aliases -- libgit2 0.28.4