dotfiles

$HOME is where the <3 is
git clone git://git.alexkarle.com/dotfiles.git
Log | Files | Refs | Submodules | README

commit 2571676f0851b2aa6a889bf8263a255385386a48 (patch)
parent b300a8b7c09cd1bca58414975520974c5dc2d0cb
Author: Alex Karle <alex@karle.co>
Date:   Wed,  5 Jun 2019 23:23:24 -0400

[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 :)

Diffstat:
Mbash/aliases | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git 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