Created
September 4, 2009 01:31
-
-
Save zunda/180675 to your computer and use it in GitHub Desktop.
This file contains 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
set formatoptions=tmvM | |
set autoindent | |
set shiftwidth=2 | |
set tabstop=2 | |
set nojoinspaces | |
set noexpandtab | |
set ambiwidth=double | |
set fileencodings=utf-8,euc-jisx0213,ucs-bom,default,latin1 | |
set backspace=indent,eol,start | |
map Q gq | |
if has("autocmd") | |
augroup itsalltext | |
au! | |
au BufReadPre,FileReadPre */itsalltext/* set textwidth=65 | |
au BufReadPre,FileReadPre */itsalltext/* set tabstop=2 | |
au BufReadPre,FileReadPre */itsalltext/* set shiftwidth=2 | |
au BufReadPre,FileReadPre */itsalltext/* set expandtab | |
au BufReadPre,FileReadPre */itsalltext/* set fileencoding=utf-8 | |
au BufReadPre,FileReadPre */itsalltext/* set fileencodings=utf-8 | |
augroup END | |
augroup w3m | |
au! | |
au BufReadPre,FileReadPre */.w3m/* set textwidth=65 | |
au BufReadPre,FileReadPre */.w3m/* set tabstop=2 | |
au BufReadPre,FileReadPre */.w3m/* set shiftwidth=2 | |
au BufReadPre,FileReadPre */.w3m/* set expandtab | |
augroup END | |
endif | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment