La Vita è Bella

2007-05-19

Add emacs mode line support to vim, and call for help

UPDATE: sfiera took this project over so please head to his github page for this project. Thank you for the awesome work, sfiera!

Different editor configurations, especially tabstops are always pain for co-work. So if everyone uses vim, you can specify some vim instruction to override one's vim configuration in your file, just like:

// vim:tabstop=4:

And if everyone uses emacs, you can also specify emacs mode line like:

// -*- tab-width: 2 -*-

But what about make vim to read emacs mode line? I've wrote a script to do so.

As I didn't use emacs at all, I don't know which instructions can be specified in the emacs mode line. I just wrote a handler for "tab-width" as an example. If you are familiar with both emacs and vim, please help me to add more handlers into this script.

After more handlers added, I'll submit this script to vim.org.

02:25:41 by fishy - Permanent Link

May the Force be with you. RAmen