Skip to content

Commit

Permalink
feat: simplify vim installation
Browse files Browse the repository at this point in the history
  • Loading branch information
st3v3nhunt committed Jul 21, 2020
1 parent 326c8a3 commit f8c87e7
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions scripts/install-vim-stuff.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,10 @@ if [[ ! -d ~/.vim/tmp/ ]]; then
fi

# Install YouCompleteMe
~/.vim/bundle/YouCompleteMe/install.py --all

# Use existing word list for vim spell
if [[ ! -d ~/.vim/spell/ ]]; then
mkdir ~/.vim/spell
fi
~/.vim/bundle/YouCompleteMe/install.py --all

REPO_DIR="$( cd "$( dirname "$(dirname "${BASH_SOURCE[0]}" )" )" && pwd )"

# mkdir ~/.vim/spell
ln -fsv "$REPO_DIR/vim/spell" ~/.vim/

# Link ftplugin
# Link ftplugin and spell dirs
ln -fsv "$REPO_DIR/vim/ftplugin" ~/.vim/
ln -fsv "$REPO_DIR/vim/spell" ~/.vim/

0 comments on commit f8c87e7

Please sign in to comment.