Skip to content

Instantly share code, notes, and snippets.

@stephenhardy
Created January 31, 2011 15:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stephenhardy/804134 to your computer and use it in GitHub Desktop.
Save stephenhardy/804134 to your computer and use it in GitHub Desktop.
My current .vimrc customisations
"##############################################################################
"# My additions and configurations below
"##############################################################################
set nocompatible
" Remove any chrome, toolbars etc
if has("gui_running")
set guioptions-=m
set guioptions-=T
set guioptions-=r
set t_Co=256
endif
colorscheme molokai
set colorcolumn=80
" set up indenting and tabs
set autoindent
set smartindent
set tabstop=4
set shiftwidth=4
" Set cursor to match when typing a closing or opening
" brace/parenthesis/bracket
set showmatch
" windows will contain statusline indicating cursor position
set ruler
set number "Add line numbers
" search for text as text is entered
set incsearch
"###################################
" Plugins
"###################################
" enable snippets from snipmate
:filetype plugin on
" NERDTree
autocmd VimEnter * NERDTree
autocmd VimEnter * wincmd p
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment