Copy the setup_linux_machine.txt
or setup_mac_machine.txt
file contents, and execute them locally (e.g. bash setup_mac_machine.txt
).
Note there is still a manual step for setting up python for neovim described in https://github.com/deoplete-plugins/deoplete-jedi/wiki/Setting-up-Python-for-Neovim
- Copy or clone the repo, put it in a
dotfiles
directory - Install tmux:
brew install tmux
- Link
~/dotfiles/tmux/.tmux.conf
to~/.tmux.conf
:ln -s ~/dotfiles/tmux/.tmux.conf ~/.tmux.conf
- Link
~/dotfiles/vim/vimrc
to~/.vimrc
:ln -s ~/dotfiles/vim/vimrc ~/.vimrc
- Open vim for the first time to install packages
- Make sure you have neovim installed on mac and with pip3:
brew install neovim
andpip3 install neovim
- Make your
.config
and.config/nvim
directories:mkdir ~/.config && mkdir ~/.config/nvim
- Alias your nvim config file to be your vimrc:
ln -s ~/dotfiles/vim/vimrc ~/.config/nvim/init.vim
- Alias vim as nvim by adding this to ~/.bash_profile:
alias vim='nvim'
- May also need to install powerline and change fonts in iTerm: vim-airline/vim-airline#142
- After all this, run
:PlugInstall
with vim running.
need to link the settings.json file to get vim bindings (after installing the vim plugin in vscode):
rm ~/Library/Application\ Support/Code/User/settings.json
ln -s ~/dotfiles/vscode/settings.json ~/Library/Application\ Support/Code/User/settings.json