Skip to content

Instantly share code, notes, and snippets.

@sholloway
Created May 4, 2012 18:36
Show Gist options
  • Save sholloway/2596813 to your computer and use it in GitHub Desktop.
Save sholloway/2596813 to your computer and use it in GitHub Desktop.
My .vimrc file
"Set up searching
set incsearch
set ignorecase
set smartcase
"Always have some padding on scrolling
set scrolloff=2
"turn on sytnax highlighing by default
syntax on
"Set up code indention
set smartindent
set tabstop=2 "ruby style
set expandtab "turn tabs into whitespace
set shiftwidth=2 "indent width for autoindent
""enable indent folding
set foldenable
set fdm=indent
"set color scheme
"available schemes at /usr/share/vim/vim64/colors
set t_Co=256
colorscheme darkblue
"Set Space to toggle a fold
nnoremap <space> za
"Turn on line numbers
set number
"Call Pathogen
call pathogen#infect()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment