[install] install vim-plug and some style cleanup
This commit is contained in:
parent
5327c86e9a
commit
127e49222a
1 changed files with 15 additions and 6 deletions
21
install
21
install
|
@ -14,9 +14,19 @@ git remote add origin git@github.com:joshtronic/dotfiles.git
|
|||
git pull origin master
|
||||
git submodule update --init --recursive
|
||||
|
||||
rm -rf $HOME/.gemrc $HOME/.gitconfig $HOME/.grcat $HOME/.my.cnf \
|
||||
$HOME/.tmux.conf $HOME/.tmuxinator $HOME/.vim $HOME/.zshrc \
|
||||
$HOME/.config/nvim
|
||||
rm -rf \
|
||||
$HOME/.config/nvim \
|
||||
$HOME/.gemrc \
|
||||
$HOME/.gitconfig \
|
||||
$HOME/.grcat \
|
||||
$HOME/.my.cnf \
|
||||
$HOME/.tmux.conf \
|
||||
$HOME/.tmuxinator \
|
||||
$HOME/.vim \
|
||||
$HOME/.zshrc
|
||||
|
||||
curl -fLo $DOTFILES/vim/autoload/plug.vim --create-dirs \
|
||||
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
||||
|
||||
ln -s $DOTFILES/gemrc $HOME/.gemrc
|
||||
ln -s $DOTFILES/gitconfig $HOME/.gitconfig
|
||||
|
@ -28,10 +38,9 @@ ln -s $DOTFILES/vim $HOME/.vim
|
|||
ln -s $DOTFILES/vim $HOME/.config/nvim
|
||||
ln -s $DOTFILES/zshrc $HOME/.zshrc
|
||||
|
||||
|
||||
if [[ `uname` == 'Darwin' ]]; then
|
||||
defaults write com.apple.dock autohide-delay -float 86400; killall Dock
|
||||
defaults write -g ApplePressAndHoldEnabled -bool false
|
||||
defaults write com.apple.dock autohide-delay -float 86400; killall Dock
|
||||
defaults write -g ApplePressAndHoldEnabled -bool false
|
||||
fi
|
||||
|
||||
cd $HOME
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue