On Wed, Dec 3, 2008 at 7:36 PM, Corey O'Connor <[EMAIL PROTECTED]> wrote:
> Doh! Yes, you are right. It really does need to be a runtime and > mode-dependent option. Though, I think there is a scheme partially in > place that does this. A mode can specify a modeKeymap which is buffer > local. The issue with the modeKeymap last I looked into it was that > they should only apply when in insert mode if the user is using the > vim keymap. I don't think this is taken into consideration right now. > This is a endomorphism on a keymap and a dynamic property of a buffer. > Which means, in theory, an operation like so could be done: > - Take current buffer's modeKeymap > - Extend with autoindent functionality > - Set current buffer's modeKeymap The building blocks could be made available in the interpreter, so that the user could type :yi setKeymap (mkKeymap (autoIndentModifier myKeymap)) ... or somesuch. --JP --~--~---------~--~----~------------~-------~--~----~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~----------~----~----~----~------~----~------~--~---