From 14954b6e240aeda659b9186c523d9725916bf8cc Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Sat, 9 Feb 2019 17:51:05 -0500 Subject: [PATCH] neovim for vim if installed --- .aliasrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.aliasrc b/.aliasrc index 1fb1c8d..eddc0da 100644 --- a/.aliasrc +++ b/.aliasrc @@ -23,7 +23,7 @@ alias ka="killall" \ upc="sudo pacman -Syu; pkill -RTMIN+8 i3blocks" \ lsp="pacman -Qett --color=always | less" -command -v nvim >/dev/null && alias vimdiff="nvim -d" # Use neovim for vimdiff if present. +command -v nvim >/dev/null && alias vim="nvim" vimdiff="nvim -d" # Use neovim for vim if present. shdl() { curl -O $(curl -s http://sci-hub.tw/"$@" | grep location.href | grep -o http.*pdf) ;} se() { du -a ~/.scripts/* ~/.config/* | awk '{print $2}' | fzf | xargs -r $EDITOR ;}