Using Vim as Actionscript editor
After trying SEPY, SciTE 1.53, SciTE 1.61 (meychi website down) and FlashDevelop, now I’ve moved to Vim (Vi improved).
The nice thing about Vim is that it’s built for programmers and it can greatly improve your editing speed. You can do everything without touching your mouse or moving your hand to the arrow keys. And what I like most is that it has color schemes really friendly to your eyes.
The default installation doesn’t support Actionscript syntax. You need to download the syntax file here and put it in your syntax folder. One minor problem is that Atlas files use .as as extension and this conflict’s with Actionscript. You need to edit filetype.vim to solve the problem. Or you can download my filetype.vim.
To make vim more sexy, you need to edit the _vimrc file. _vimrc file holds a set of commands and run by vim when it’s launched. You can download my customized _vimrc file here.
Vim is easy to use but not easy to learn. You can check out their documentation online. The free book is very helpful.
Here’s a list of keys frequently used:
have you ever tried fdt?
Yes, I use vim too! It’s great!
No Actionscript 3.0 syntax though.
Tried a bit last time. not a big fan of eclipse. I find it take up too much memory.
I am a lover of VIm. but it does not support AS 3 .0 .. not suggested for Flex Developer
i’m using vim too, that rocks!
btw, a simple AS3 syntax can be found here:
http://www.vim.org/scripts/script.php?script_id=1585
cheers,
V0id
i have configured as.vim on my vim by ur help
There’s a new omnicompletion plug-in for vim now: http://www.vim.org/scripts/script.php?script_id=2478. I just downloaded it and have yet to try it, but it looks promising.
Very interesting, thanks!
Could you describe a bit your usual workflow on actionscript project? What tools involved, how to compile and so on…
[...] http://shang-liang.com/blog/using-vim-as-actionscript-editor/ No Comments [...]
Hey guys, if you are interested check out the plugin that i’m developing. It aims to provide Flash Develop features into the VIM. I’ll be glad to hear your opinions and to see a fork / contribution.
https://github.com/endel/flashdevelop.vim