Skip to content

Instantly share code, notes, and snippets.

@tshanks
Created August 14, 2011 13:54
Show Gist options
  • Save tshanks/1144888 to your computer and use it in GitHub Desktop.
Save tshanks/1144888 to your computer and use it in GitHub Desktop.
The shortest vimrc I can possibly stand (minimal-vimrc)
" tshanks minimal vimrc
set backup
"set backupdir=~/vimbackups
set visualbell
set secure " disable trojan modelines (hopefully)
" Switch syntax highlighting on, when the terminal has colors
" Also switch on highlighting the last used search pattern.
if &t_Co > 2 || has("gui_running")
syntax on
set hlsearch
endif
filetype plugin indent on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment