Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 1.48 KB

README.md

File metadata and controls

25 lines (20 loc) · 1.48 KB

dotfiles

automated setup

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

manual setup

  1. Copy or clone the repo, put it in a dotfiles directory
  2. Install tmux: brew install tmux
  3. Link ~/dotfiles/tmux/.tmux.conf to ~/.tmux.conf: ln -s ~/dotfiles/tmux/.tmux.conf ~/.tmux.conf
  4. Link ~/dotfiles/vim/vimrc to ~/.vimrc: ln -s ~/dotfiles/vim/vimrc ~/.vimrc
  5. Open vim for the first time to install packages
  6. Make sure you have neovim installed on mac and with pip3: brew install neovim and pip3 install neovim
  7. Make your .config and .config/nvim directories: mkdir ~/.config && mkdir ~/.config/nvim
  8. Alias your nvim config file to be your vimrc: ln -s ~/dotfiles/vim/vimrc ~/.config/nvim/init.vim
  9. Alias vim as nvim by adding this to ~/.bash_profile: alias vim='nvim'
  10. May also need to install powerline and change fonts in iTerm: vim-airline/vim-airline#142
  11. After all this, run :PlugInstall with vim running.

for vscode

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