install my Vim config by pasting some Terminal commands
Shell Vim script
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
images
.gitignore
README.md
bash_aliases
bash_profile
flake8
git-completion.bash
gitconfig
gitignore
ignore
prettierrc
tigrc
vimrc

README.md

Alan's Dotfiles

Use my vimrc config file to get a head-start with Vim.

Installation

git clone git://github.com/alanhamlett/dotfiles.git
ln -sf $PWD/dotfiles/vimrc $HOME/.vimrc
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
brew tap universal-ctags/universal-ctags
brew install --HEAD universal-ctags
npm -g install instant-markdown-d import-js
sudo pip install flake8
ln -sf $PWD/flake8 $HOME/.config/flake8
vim +PluginInstall +qall
cd $HOME/.vim/bundle/vim-prettier; yarn install; cd $OLDPWD

Key Features

  • Code folding for bracket or indention based languages
  • Edit multiple files in tabs using minibufexpl plugin
  • Using the Solarized color scheme
  • Using Vundle for plugin management (apt-get for Vim plugins)
  • Common swp, backup, & view directories (No more ~ files left around)
  • Useful defaults (spaces instead of tabs, remove trailing newlines, etc.)

Plugins Included

Screenshot

VimScreenShot

Font and Color Theme

Use a font patched for airline compatibility, like Anonymous Pro:

Full list of fonts

Install the solarized color palette in your terminal:

iTerm2:

  • Download Solarized Dark.itermcolors.
  • Open iTerm 2, open Preferences, click on the "Profiles" icon in the preferences toolbar, then select the "colors" tab.
  • Click on the "load presets" and select "import...".
  • Select the Solarized Dark theme file.

Guake:

git clone git://github.com/coolwanglu/guake-colors-solarized.git
./guake-colors-solarized/set_dark.sh solarized

Choose Solarized's light or dark theme in your vimrc file:

set background=dark

More info on the official Solarized page.