Created
November 9, 2011 21:31
-
-
Save jakeboxer/1353121 to your computer and use it in GitHub Desktop.
My .vimrc.local for janus
This file contains hidden or 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
| 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