Configuration files
Check out https://github.com/glacambre/firenvim
-
Install MacVim
-
Create
~/vim/
if it does not exist
mkdir ~/.vim
- Install vim theme
$ mkdir ~/.vim/colors && cp monokai.vim ~/.vim/colors/
- Install Vundle
$ git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
- Launch and install plugins
$ mvim
:PluginInstall
- Install global packages
$ npm i -g eslint_d
$ npm i -g eslint-cli
- Build YouCompleteMe binaries
$ brew install cmake
$ cd ~/.vim/bundle/YouCompleteMe && ./install.py --tern-completer
- Install Tern dependencies
$ cp ~/dev/configs/.tern-config ~/
$ cd ~/.vim/bundle/tern_for_vim && npm i
- Install brew dependencies (Ack for CtrlSF and grip for MD preview)
$ brew install ack
$ brew install grip
- Install this for checking out files
$ brew install jq
Now you can type to check out files:
jq -r .scripts package.json
Install Iterm2 color theme
cd Downloads && curl -O https://raw.githubusercontent.com/MartinSeeler/iterm2-material-design/master/material-design-colors.itermcolors
Install Oh My ZSH!
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
Install PowerLevel10k theme
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
Change the theme in ~/.zshrc
:
ZSH_THEME="powerlevel10k/powerlevel10k"
Open up iTerm2 preferences (⌘ + ,) -> Go to Profiles -> Keys -> Click on + icon (add new Keyboard shortcut):
Restart Iterm
FZF for ctrl-r
brew install fzf
$(brew --prefix)/opt/fzf/install
source ~/.zshrc
Fix repeating keypresses on Mac
defaults write -g ApplePressAndHoldEnabled -bool false
Check here for more info on OMZ
run $ sudo ln -s /Applications/MacVim.app/Contents/bin/mvim /usr/local/bin/mvim