Skip to content

Commit

Permalink
highlight trailing whitespace, make Inconsolate-dz default font
Browse files Browse the repository at this point in the history
  • Loading branch information
clifff committed Jul 3, 2012
1 parent c899bb7 commit 35fdf51
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .gvimrc
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,7 @@ if has("gui_macvim")
macmenu &File.New\ Tab key=<D-T>
endif

set gfn=Inconsolate-dz:h12

" Set some useful ignores for Command-T
:set wildignore+=public/cache/*,tmp/*,.sass-cache/*
set wildignore+=public/cache/*,tmp/*,.sass-cache/*
3 changes: 2 additions & 1 deletion .vim/.netrwhist
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
let g:netrw_dirhistmax =10
let g:netrw_dirhist_cnt =2
let g:netrw_dirhist_cnt =3
let g:netrw_dirhist_1='/usr/bin'
let g:netrw_dirhist_2='/Users/clifff/Code/syllabus'
let g:netrw_dirhist_3='/Users/clifff/src/rails'
9 changes: 8 additions & 1 deletion .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,14 @@ endwhile
unlet s:windowmapnr s:wins

" Files to ignore for Command-T / other listings
:set wildignore+=*.o,*.obj,.git,public/stylesheets/**,public/cache/**
set wildignore+=*.o,*.obj,.git,public/stylesheets/**,public/cache/**

" Show whitespace
set list listchars=tab:»·,trail:·
" Highlight trailing/leading whitespace
highlight ExtraWhitespace ctermbg=red guibg=red
match ExtraWhitespace /\s\+\%#\@<!$/


" Load up pathogen / plugins
call pathogen#infect()

0 comments on commit 35fdf51

Please sign in to comment.