neovim for vim if installed

This commit is contained in:
Luke Smith 2019-02-09 17:51:05 -05:00
parent 1579f9c6c2
commit 14954b6e24

View file

@ -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 ;}