All pastes #772991 Raw Edit

vimrc snippet

public text v1 · immutable
·published 2007-11-14 05:26 UTC
rendered paste body
func PyLint()
  cgetexpr system("~/util/epylint " . bufname('%'))
endfunc

" map <c-w><c-e> :cgetexpr system("find . -type 'f' -name 'bufname('%')' -exec ~/util/epylint {} +")<cr>
map <c-w><c-e> :call PyLint()<cr>
map <c-w><c-r> :%s/[ \t]\+$//c<cr>