helm/editor/+vimlite/install

17 lines
414 B
Plaintext
Raw Normal View History

#!/usr/bin/env bash
case $OSTYPE in
darwin*)
brew install vim
;;
linux*)
if [[ -f /etc/arch-release ]]; then
sudo pacman --needed --noconfirm -S vim
elif [[ -f /etc/debian_version ]]; then
sudo apt-get install -y vim
fi
;;
esac
2017-08-09 06:43:07 -07:00
[[ -f ~/.vimrc ]] || wget -O ~/.vimrc https://raw.githubusercontent.com/hlissner/.vim/master/vimrc.mini