]>
git.sthu.org Git - vimconf.git/blob - install.sh
7 if /usr
/bin
/vim
--version |
grep -q "$1"; then
8 echo "vim has support for $1."
10 echo "vim has no support for $1. Aborting."
17 if python3
-c "import $1" 2>/dev
/null
; then
18 echo "Python3 module '$1' exists."
20 echo "Python3 module '$1' missing. Aborting."
27 if which "$1" > /dev
/null
; then
30 echo "$1 not found. Aborting."
43 echo "Installing files."
45 ln -s $HOME/.vim
/init.vim
$HOME/.vimrc
46 ln -s $HOME/.vim
/gvimrc
$HOME/.gvimrc
47 ln -s $HOME/.vim
$HOME/.config
/nvim