nhzaci / Personal-Config

Stores personal configuration for migration between systems

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Personal Configuration

  • Comprehensive installation and setup guide for future laptops

Steps

  1. Install brew
  2. Copy .vimrc in github repo into local home cp ./vimrc ~/.vimrc
cp ./vimrc ~/.vimrc
  1. 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'
  1. Open up vim and do :PlugInstall to install all dependencies
  2. Copy .zshrc in github repo into local home
cp ./zshrc ~/.zshrc \
source ~/.zshrc
  1. Install autojump by running brew install autojump
  2. Install nvim brew install neovim
  3. 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
  1. Install Java with brew, brew install java
  2. Create Java symlink using command sudo ln -sfn /usr/local/opt/openjdk/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk.jdk
  3. Enable prettier to format on save for all files
// In CocConfig
{
  "coc.preferences.formatOnSaveFileTypes": ["*"]
}
  1. Install ruby brew install ruby
  2. Install ruby env brew install rbenv
  3. Install python3 brew install python
  4. Install scala brew install sbt
  5. Install ammonite repl brew install ammonite-repl
  6. Install lookatme pip3 install lookatme
  7. Install python nvim pip3 install pynvim

About

Stores personal configuration for migration between systems


Languages

Language:Vim Script 61.9%Language:Shell 38.1%