- 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