Skip to content

Instantly share code, notes, and snippets.

@jakeboxer
Created November 9, 2011 21:31
Show Gist options
  • Select an option

  • Save jakeboxer/1353121 to your computer and use it in GitHub Desktop.

Select an option

Save jakeboxer/1353121 to your computer and use it in GitHub Desktop.
My .vimrc.local for janus
color vividchalk
" Ignore bad Rails stuff
set wildignore+=test/fixtures/**,vendor/gems/**
set wildignore+=enterprise,repositories
set wildignore+=public/images,public/javascripts/MathJax,tmp
" Show whitespace
set list listchars=trail:.,tab:>.
" ---------------------------------------------------------------------------
" Strip all trailing whitespace in file
" ---------------------------------------------------------------------------
function! StripWhitespace ()
exec ':%s/ \+$//g'
endfunction
map ,s :call StripWhitespace ()<CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment