trev / dotfiles

My dotfiles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Trev's dotfiles

Usage (cause I'll forget):

I'm trialling Neovim. Neovim supports, amongst other things, asynchrony.

Starting from a fresh system?

  • Install Oh My Zsh
  • Install iTerm2
  • Install Neovim and enable Python in Neovim
  • Install chruby and check the notes at the bottom of this readme (you only have to set the source for now as once the .zshrc is cloned all the settings are taken care of)
  • Install ruby-install and a version of ruby ruby-install ruby --latest
  • Install ctags with $ brew install ctags
  • Install NodeJS with n-install
  • Install The Silver Searcher to speed up CtrlP in Vim
  • Set a default system-wide Ruby to use: echo "ruby-2.4.2" > ~/.ruby-version
  • Exit everything, restart iTerm2

Link up dot files and setup

  • $ cd ~
  • $ gem install dottor
  • $ git clone git://github.com/trev/dotfiles.git
  • $ cd dotfiles
  • $ dottor symlink default
  • (nvim) $ git clone https://github.com/gmarik/Vundle.vim.git ~/.config/nvim/bundle/Vundle.vim
  • (nvim) $ nvim +PluginInstall +qall (Ignore the error)
  • (nvim) $ cd ~/.config/nvim/bundle/YouCompleteMe && ./install.py --tern-completer
  • Double click on the font and install
  • Change iTerm2 font to the newly installed font
  • Apply iTerm2 color presets: Preferences->Profiles->Colors->Load Presets
  • $ vim
  • Exit everything, restart iTerm2
  • Drink

chruby notes

  • Auto-switching should already be setup in the .zshrc file, but good to be aware of it.
  • Check and apply the integrations of choice
  • Especially important is to complete the Vim integration or Vim will run using the system Ruby and cause all sorts of problems with plugins like rails.vim.
  • Git is aliased to Hub which adds some syntax sugar to git. Install it with brew: $ brew install hub

Finally, some good reading about shell initialization and the $PATH variable

Vim/Nvim Plugin notes

I tried Unite and addons... whilst it looks awesome it was just too slow. There's also Deoplete which provides async autocompletion on Neovim but I couldn't get it to work properly. In the end I stayed with good ol' CtrlP because it's much faster and just "feels" better. I use CtrlP to fuzzy search through my files, MRU, buffers and tags. I use to activate the fuzzy search and to change the source (Files, MRU, buffers, tags).

About

My dotfiles


Languages

Language:Vim Script 59.2%Language:Shell 40.8%