Using Vim as Actionscript editor
Wednesday 2 May 2007 - Filed under Others
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:
2007-05-02 » 5566

2 May 2007 @ 3:30 pm
have you ever tried fdt?
2 May 2007 @ 3:31 pm
Yes, I use vim too! It’s great!
2 May 2007 @ 3:34 pm
No Actionscript 3.0 syntax though.
2 May 2007 @ 4:37 pm
Tried a bit last time. not a big fan of eclipse. I find it take up too much memory.
14 August 2007 @ 3:55 am
I am a lover of VIm. but it does not support AS 3 .0 .. not suggested for Flex Developer
14 August 2007 @ 4:29 am
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
28 July 2008 @ 10:58 pm
i have configured as.vim on my vim by ur help
26 March 2009 @ 11:25 am
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.
21 June 2010 @ 8:40 am
Very interesting, thanks!
Could you describe a bit your usual workflow on actionscript project? What tools involved, how to compile and so on…