Skip to content

Instantly share code, notes, and snippets.

@mdunsmuir
Created May 21, 2013 08:36
Show Gist options
  • Save mdunsmuir/5618361 to your computer and use it in GitHub Desktop.
Save mdunsmuir/5618361 to your computer and use it in GitHub Desktop.
filetype indent on " automatically indent
set expandtab " tabs are spaces
set shiftwidth=2 " two space indent
set tabstop=2
set ruler " display line number and position
"This unsets the "last search pattern" register by hitting return
nnoremap <CR> :noh<CR><CR>
" get nice tabcomplete list
set wildmode=longest,list
syntax on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment