From 0d40c1bf67f7e8f6fb19b8daf0ebd2b8d71e3693 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Tue, 11 Jan 2022 17:27:28 +0100 Subject: [PATCH] sh: Add missing vim aliases MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added some simple aliases that were missing from the vi → vim → neovim chain. Can be useful for the odd moment when one does not know which exact vim is installed. --- sh/.config/sh/alias | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sh/.config/sh/alias b/sh/.config/sh/alias index 623ebc7..5746afb 100644 --- a/sh/.config/sh/alias +++ b/sh/.config/sh/alias @@ -11,10 +11,12 @@ unalias -a if exist nvim; then alias v="nvim" alias vs="nvim -c 'ScratchPad'" + alias vim="nvim" elif exist vim; then alias v="vim" else alias v="vi" + alias vim="vi" fi # exit shell mimicks vim