From df70124f64ecdb2bcfac3fbc132fb14f1501773d Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Mon, 18 May 2015 14:56:52 +0100 Subject: added support for neovim --- install.sh | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) (limited to 'install.sh') diff --git a/install.sh b/install.sh index a84cd04..8b52707 100755 --- a/install.sh +++ b/install.sh @@ -3,6 +3,7 @@ dir=~/dotfiles olddir=~/dotfiles_old +home=/home/urbain rm -rf $olddir mkdir -p $olddir @@ -10,7 +11,7 @@ mkdir -p $olddir echo -e "\n*** Symlinking files *** \n" if [ $# -eq 0 ]; then - listFiles=`ls --ignore="make" --ignore="tex"` + listFiles=`ls --ignore="make" --ignore="tex" --ignore="README.md"` else listFiles=$@ fi @@ -31,18 +32,19 @@ if [ $# -ne 0 ]; then fi # Symlink for neovim -rm ~/.nvim ~/.nvimrc -ln -s $dir/vim ~/.nvim -ln -s $dir/vimrc ~/.nvimrc +# rm ~/.nvim ~/.nvimrc +# ln -s $dir/vim ~/.nvim +# ln -s $dir/vimrc ~/.nvimrc echo -e "\n*** Updating/Creating git repositories *** \n" declare -A repos -repos[altercation]=/home/urbain/.solarized/mutt-colors-solarized -repos[Anthony25]=/home/urbain/.solarized/gnome-terminal-colors-solarized -repos[seebi]=/home/urbain/.solarized/dircolors-solarized -repos[gmarik]=/home/urbain/.vim/bundle/vundle -repos[tmux-plugins]=/home/urbain/.tmux/plugins/tpm +repos[junegunn]=$home/.nvim/vim-plug +repos[altercation]=$home/.solarized/mutt-colors-solarized +repos[Anthony25]=$home/.solarized/gnome-terminal-colors-solarized +repos[seebi]=$home/.solarized/dircolors-solarized +repos[gmarik]=$home/.vim/bundle/vundle +repos[tmux-plugins]=$home/.tmux/plugins/tpm for author in "${!repos[@]}"; do thisDir=${repos[$author]} @@ -58,4 +60,8 @@ for author in "${!repos[@]}"; do fi done +cd $dir/nvim +mkdir -p autoload +ln -s $dir/nvim/vim-plug/plug.vim $dir/nvim/autoload/plug.vim + echo -e "\n*** Installation successful *** \n" -- cgit v1.2.3