Skip to content

drewproud/configs

Repository files navigation

configs

Configuration files

Check out https://github.com/glacambre/firenvim

Installation

  1. Install MacVim

  2. Create ~/vim/ if it does not exist

mkdir ~/.vim
  1. Install vim theme
$ mkdir ~/.vim/colors && cp monokai.vim ~/.vim/colors/
  1. Install Vundle
$ git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
  1. Launch and install plugins
$ mvim
:PluginInstall
  1. Install global packages
$ npm i -g eslint_d
$ npm i -g eslint-cli
  1. Build YouCompleteMe binaries
$ brew install cmake
$ cd ~/.vim/bundle/YouCompleteMe && ./install.py --tern-completer
  1. Install Tern dependencies
$ cp ~/dev/configs/.tern-config ~/
$ cd ~/.vim/bundle/tern_for_vim && npm i
  1. Install brew dependencies (Ack for CtrlSF and grip for MD preview)
$ brew install ack
$ brew install grip
  1. 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): image

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

Troubleshooting

Check here for more info on OMZ

mvim not finding vim when trying to launch from terminal

run $ sudo ln -s /Applications/MacVim.app/Contents/bin/mvim /usr/local/bin/mvim

About

Configuration files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published