Created
January 31, 2011 15:02
-
-
Save stephenhardy/804134 to your computer and use it in GitHub Desktop.
My current .vimrc customisations
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"############################################################################## | |
"# 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