Skip to content

Instantly share code, notes, and snippets.

@mefellows
Created July 26, 2013 13:39
Show Gist options
  • Save mefellows/6088915 to your computer and use it in GitHub Desktop.
Save mefellows/6088915 to your computer and use it in GitHub Desktop.
My VIM Preferences (~/.vimrc)
set nocompatible
set nowrap " don't wrap lines
set tabstop=4 " a tab is four spaces
set backspace=indent,eol,start
" allow backspacing over everything in insert mode
set autoindent " always set autoindenting on
set paste " Prepare for paste
set copyindent " copy the previous indentation on autoindenting
set number " always show line numbers
set shiftwidth=4 " number of spaces to use for autoindenting
set shiftround " use multiple of shiftwidth when indenting with '<' and '>'
set showmatch " set show matching parenthesis
set ignorecase " ignore case when searching
set smartcase " ignore case if search pattern is all lowercase,
" case-sensitive otherwise
set smarttab " insert tabs on the start of a line according to
" shiftwidth, not tabstop
set hlsearch " highlight search terms
set incsearch " show search matches as you type
set visualbell " don't beep
set noerrorbells " don't beep
set history=1000 " remember more commands and search history
set undolevels=1000 " use many muchos levels of undo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment