My flight-attendant wife (not with Westjet) sure got a kick out that one.
My flight-attendant wife (not with Westjet) sure got a kick out that one.
I’ve recently made the plunge and standardized all my text editing needs around vim. That is to say vim when in local or remote terminal sessions and macvim when editing local files.
http://twitter.com/#!/stephdau/status/51275806772707329
Since this has lead me to tweak my .vimrc file, I figured I’d post its current incarnation for posterity.
set tabstop=4 softtabstop=4 shiftwidth=4 noexpandtab set nowrap set ruler syntax on filetype indent on autocmd FileType php set omnifunc=phpcomplete#CompletePHP autocmd FileType javascript set omnifunc=javascriptcomplete#CompleteJS autocmd FileType html set omnifunc=htmlcomplete#CompleteTags autocmd FileType css set omnifunc=csscomplete#CompleteCSS autocmd FileType xml set omnifunc=xmlcomplete#CompleteTags autocmd FileType python set omnifunc=pythoncomplete#Complete autocmd FileType c set omnifunc=ccomplete#Complete
Here’s what it means:
set wrap when I need it insteadThose are the only configs I’ve found myself needing at the moment, but they made a huge difference in my daily productivity. Maybe they will for you too.