Name: Anonymous 2008-09-18 18:13
is it possible to be fluent in java and not love eclipse?
set tabstop=4
set textwidth=80
set pt=<F9>
set tags=tags;.
set number
set numberwidth=4
let b:is_mzscheme=1
run mzscheme-qf.vim
sy on
function SetLispIndent()
set nocindent
set autoindent
set lisp
endf
function SetCIndent()
set nolisp
set cino=>4,=0,l1,b1,h0,(0,w1,W4,m1,U1
set noautoindent
set cindent
endf
function _SwitchIndent(filename)
if match(a:filename, ".scm$") == -1
call SetCIndent()
else
call SetLispIndent()
endif
endf
command SwitchIndent call _SwitchIndent(expand("%"))
if !exists("autocommands_loaded")
let autocommands_loaded = 1
autocmd BufRead * SwitchIndent
endif