Skip to content

Instantly share code, notes, and snippets.

@jaronson
Created October 15, 2013 14:42
Show Gist options
  • Select an option

  • Save jaronson/6992632 to your computer and use it in GitHub Desktop.

Select an option

Save jaronson/6992632 to your computer and use it in GitHub Desktop.
set noerrorbells
set nocompatible
set showmatch
set expandtab
set tabstop=2
set shiftwidth=2
set backspace=2
set fileencodings=ucs-bom,utf-8,default,latin1
set helplang=en
set nu
set nowrap
set ruler
set hls
set incsearch
set laststatus=2
set background=light
set synmaxcol=480
set ttimeoutlen=100
set timeoutlen=100
set listchars=tab:>\ ,trail:-,extends:>,precedes:<,nbsp:+
set list " show trailing whiteshace and tabs
command! -bar -range=% Trim :<line1>,<line2>s/\s\+$//e
syntax enable
filetype plugin indent on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment