flarnie / dotvim

Configurations for Vim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vim Configurations

Set Up

  1. Back up your old configs. :)
mv ~/.vim ~/.vimbak
mv ~/.vimrc ~/.vimrc.bak
mv ~/.gvimrc ~/.gvimrc.bak
  1. Clone the repository. git clone https://github.com/flarnie/dotvim ~/.vim

  2. Create symlinks to the nested .vimrc and .gvimrc directories.

ln -s ~/.vim/vimrc ~/.vimrc
ln -s ~/.vim/gvimrc ~/.gvimrc
  1. Pull down the submodules: git submodule init git submodule update

  2. Make sure the syntastic checkers are installed: SCSS-Lint JSX-Hint

  1. Install fzf for fuzzy find. install with homebrew

Managing Plugins

Add a plugin git submodule add https://github.com/tpope/vim-surround.git bundle/surround

Remove a plugin from StackOverflow post

  1. git submodule deinit asubmodule
  2. git rm asubmodule
  3. rm -rf .git/modules/asubmodule

Note: This depends on using git version 1.8.5.

Getting Solarized To Work on Mac

The solarized theme will not "just work" with the default mac terminal in my experience. Here is what I've done to get it working when I use Vim in the terminal;

  • Set up iterm2, zsh, and oh-my-zsh.1
  • Set up the solarized colors for iterm2. Now when you open Vim it should "just work" with the solarized theme.

Plugins

WIP documenting which plugins are used and why.

Resources

About

Configurations for Vim


Languages

Language:Vim Script 79.9%Language:Vim Snippet 16.7%Language:Python 3.3%