It took me an embarrassingly long time to figure out how to install the ActionScript plugin for Vim. First, download it from here. Put it in ~/.vim/syntax. Now, update your ~/.vimrc file to look something like this:
set autoindent
syntax on
filetype plugin on
" Use .as for ActionScript files, not Atlas files.
au BufNewFile,BufRead *.as set filetype=actionscript
" Put these in an autocmd group, so that we can delete them easily.
augroup vimrc
au!
autocmd FileType actionscript setlocal sw=4 sts=4 et
autocmd FileType python setlocal sw=4 sts=4 et tw=72
autocmd FileType ruby setlocal sw=2 sts=2 et
augroup END
Comments
I'm glad I read your post, because I have always seen a black and write screen when editing AS files and it's a pain :)
You probably know about this, there's another bin for building .swc file that are kind of C static libraries, useful for sharing code and decrease compile time. There's also RSL files that are like shared library.
For some definition of brave ;) Eclipse scares me, and all the other tools are proprietary ;)
> You probably know about this, there's another bin for building .swc file that are kind of C static libraries, useful for sharing code and decrease compile time. There's also RSL files that are like shared library.
Thanks. I didn't know all that. I'm an ActionScript newb.