support for nvim and legacy for vim

This commit is contained in:
Bartek Stalewski 2016-06-14 13:31:47 +02:00
parent e87c3a04c9
commit ac76077ea7
5 changed files with 2509 additions and 4 deletions

View file

@ -4,7 +4,7 @@
rm -rf ~/.dotfiles ~/.oh-my-zsh ~/.zshrc ~/.vim ~/.vimrc ~/.gvimrc ~/.gitignore ~/.tmux.conf
# repos
if [ `whoami` = "f" ] || [ `whoami` = "ftpd" ] || [ `whoami` = "bartek.stalewski" ]; then
if [ `whoami` = "f" ]; then
path="git@bitbucket.org:ftpd/dotfiles.git"
else
path="https://bitbucket.org/ftpd/dotfiles.git"
@ -26,9 +26,10 @@ touch ~/.zshrc.local
source ~/.zshrc
# vim
#ln -sf ~/.dotfiles/vim ~/.vim
#ln -sf ~/.vim/rcfiles/vimrc ~/.vimrc
#ln -sf ~/.vim/rcfiles/gvimrc ~/.gvimrc
mkdir -p ~/.config
ln -sf ~/.dotfiles/vim ~/.vim
ln -sf ~/.dotfiles/vim ~/.config/nvim
ln -sf ~/.dotfiles/vim/init.vim ~/.vimrc
# .gitignore
ln -sf ~/.dotfiles/gitignore ~/.gitignore