The whole setup was done following this article
From here
Run git on terminal and follow steps
Prior to the installation make sure you have committed the alias to your .bashrc or .zsh:
alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
And that your source repository ignores the folder where you'll clone it, so that you don't create weird recursion problems:
echo ".dotfiles" >> .gitignore
Now clone your dotfiles into a bare repository in a "dot" folder of your $HOME:
git clone --bare <git-repo-url> $HOME/.dotfiles
Define the alias in the current shell scope:
alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
Checkout the actual content from the bare repository to your $HOME:
dotfiles checkout
Hide untracked files
dotfiles config --local status.showUntrackedFiles no
install brew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
install python
brew install python
pip3 install neovim //activates python3 for neovim
install neovim ❤️
brew install neovim
Install plugin manager for nvim
curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
Open nvim
nvim
:PlugInstall
(if any plugin fails, check its repository (deoplete failed last time))
brew install byobu
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
git clone https://github.com/chriskempson/base16-shell.git ~/.config/base16-shell
Follow repo steps
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash
npm install -g turbo-git
brew update
brew upgrade neovim
after that open neovim
:PlugUpgrade (for vim-plug)
:UpdateRemotePlugins
:PlugUpdate
brew install ctags
in each project execute
ctags -R .