-
Clone the repo
$ git --recursive git@github.com:adriangonz/dotfiles.git -
Get
brew(just follow instructions) -
Get
Monaco for Powerlinefrom here and set it up oniTermand patch it to add devicons$ brew install fontforge $ git clone ryanoasis/nerd-fonts $ fontforge -script font-patcher ~/Library/Fonts/Monaco%20for%20Powerline.otf
-
Link
.editorconfig$ ln -s ~/dotfiles/editorconfig ~/.editorconfig
-
Link
.vimrcand.vim$ ln -s ~/dotfiles/vimrc ~/.vimrc $ ln -s ~/dotfiles/vim ~/.vim
-
Get latest neovim
$ brew install neovim $ pip install neovim
-
Link
.nvim$ ln -s ~/dotfiles/nvim ~/.config/nvim -
$ brew install ripgrep fzf -
Install all plugins with
:PlugInstall
We use langservers for autocompletion, so these need to be installed separately.
-
Install
javascript-typescript-langserver$ npm i -g javascript-typescript-langserver
-
Install
go-langserver$ go get -u github.com/sourcegraph/go-langserver
-
Install
python-language-serverwith all dependencies$ pip install 'python-language-server[all]
-
Install latest
tmux$ brew install tmux -
Install
tpm$ git clone github.com:tmux-plugins/tpm ~/dotfiles/tmux/plugins/tpm -
Link
.tmux.confandtmux$ ln -s ~/dotfiles/tmux.conf ~/.tmux.conf $ ln -s ~/dotfiles/tmux ~/.tmux
We generate our prompt and tmux status bar from vim (thanks to edkolev/promptline.vim and edkolev/tmuxline.vim).
That way we ensure the style is consistent accross vim/tmux/bash.
To edit it, checkout the promptline_preset variable on vimrc and re-generate it as:
$ vim +PromptlineSnapshot functions/prompt.shTo edit it, checkout the tmuxline_preset variables on vimrc and re-generate it as:
$ vim +TmuxlineSnapshot tmux/airline.confFor Data Science, we prefer using plain LaTeX and plain ipython to write reports
and experiment. Jupyter is great for small-scale experimenting, but it's not perfect.
-
Install
MacTexfrom the official site http://www.tug.org/mactex/ -
Link
matplotlibconfiguration.$ ln -s ~/dotfiles/matplotlib ~/.matplotlib -
Link
ipythonconfiguration.$ ipython profile create $ ln -s ~/dotfiles/ipython_config.py ~/.ipython/profile_default/ipython_config.py
-
Install
bash-completion$ brew install bash-completion $ brew tap homebrew/completions
-
Set up proper
git lg$ git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit" -
Add global
.gitignore$ ln -s ~/dotfiles/gitignore_global ~/.gitignore_global $ git config --global core.excludesfile ~/.gitignore_global
-
Install
ccatfor syntax highlighting oncat$ brew install ccat -
Install
httpiefor a bettercurl$ brew install httpie