- Comprehensive installation and setup guide for future laptops
- Install brew
- Copy .vimrc in github repo into local home
cp ./vimrc ~/.vimrc
- Install vim-plug by running command below
sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
- Open up vim and do
:PlugInstall
to install all dependencies
- Copy .zshrc in github repo into local home
cp ./zshrc ~/.zshrc \
source ~/.zshrc
- Install autojump by running
brew install autojump
- Install nvim
brew install neovim
- Re-direct nvim config to
.vimrc
by using the script below
# ~/.config/nvim/init.vim
if !exists('g:vscode')
set runtimepath^=~/.vim runtimepath+=~/.vim/after
let &packpath=&runtimepath
source ~/.vimrc
endif
- Install Java with brew,
brew install java
- Create Java symlink using command
sudo ln -sfn /usr/local/opt/openjdk/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk.jdk
- Enable prettier to format on save for all files
// In CocConfig
{
"coc.preferences.formatOnSaveFileTypes": ["*"]
}
- Install ruby
brew install ruby
- Install ruby env
brew install rbenv
- Install python3
brew install python
- Install scala
brew install sbt
- Install ammonite repl
brew install ammonite-repl
- Install lookatme
pip3 install lookatme
- Install python nvim
pip3 install pynvim