Skip to content

Instantly share code, notes, and snippets.

@levi
Created December 13, 2011 09:26
Show Gist options
  • Save levi/1471378 to your computer and use it in GitHub Desktop.
Save levi/1471378 to your computer and use it in GitHub Desktop.
My .vimrc
"" Start with Pathogen
call pathogen#infect()
"" Initial Configs
set nocompatible " choose no compatibility with legacy vi
set encoding=utf-8
set showcmd " display incomplete commands
filetype plugin indent on " load file type plugins + indentation
"" Whitespace
set nowrap " don't wrap lines
set tabstop=2 shiftwidth=2 " a tab is two spaces (or set this to 4)
set expandtab " use spaces, not tabs (optional)
set backspace=indent,eol,start " backspace through everything in insert mode
"" Searching
set hlsearch " highlight matches
set incsearch " incremental searching
set ignorecase " searches are case insensitive...
set smartcase " ... unless they contain at least one capital letter
"" Typography
set guifont=Inconsolata:h18
"" Colors
syntax enable
set background=light
colorscheme solarized
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment