Skip to content

Latest commit

 

History

History
126 lines (101 loc) · 2.89 KB

README.md

File metadata and controls

126 lines (101 loc) · 2.89 KB

dotfiles

The whole setup was done following this article

iTerm2

From here

Git

Run git on terminal and follow steps

Install dotfiles onto a new system (or migrate to this setup)

getting bare-repository

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

IDE

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))

Terminal enhancements

brew install byobu 

zsh

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

Fira Code font

https://github.com/ryanoasis/nerd-fonts/blob/master/patched-fonts/FiraCode/Retina/complete/Fura%20Code%20Retina%20Nerd%20Font%20Complete.otf

Global

curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash
npm install -g turbo-git

upgrade

brew update
brew upgrade neovim

after that open neovim

:PlugUpgrade (for vim-plug)
:UpdateRemotePlugins
:PlugUpdate
brew install ctags

in each project execute

ctags -R .