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
This is a purely technical blog concerning topics such as Python, Ruby, Scala, Go, JavaScript, Linux, open source software, the Web, and lesser-known programming languages.
Ad maiorem Dei gloriam inque hominum salutem.