On Sun, Aug 17, 2008 at 7:32 AM, Jeff Wheeler <[EMAIL PROTECTED]> wrote:
>
> On Aug 16, 11:16 pm, Gwern Branwen <[EMAIL PROTECTED]> wrote:
>
>> What sort of examples would these be? ie. I see in examples/EmacsRebinding.hs
>> {-
>> module YiConfig
>>   (main)
>> where
>> -}
>>
>
> I see none now, but I suspect I was confused because I thought Haskell
> modules usually were in CamelCase (.hs) instead of being lowercase
> like yi.hs.

I just copied the xmonad convention (at some point), but maybe that is
confusing?

> That was rather silly. Should EmacsRebinding.hs be changed
> to match the others?

Yep. To avoid things getting out of date like this, I imagine the best
thing to do is to have a Users hierarchy under Yi where we store our
configurations:

Yi.Users.Corey

would probably contain yi-extended-vim. Submodules as
Yi.Users.Corey.VimExtras (or whatever)
would be maintained by the corresponding person, but available to
everybody. If something proves
useful for enough people we can then move it to the shared modules.

The examples directory should probably contain only one yi.hs file,
that can be easily changed to select
keybindings, UIs, styles, etc., or copy some user's default config.

Cheers,
JP.

--~--~---------~--~----~------------~-------~--~----~
Yi development mailing list
yi-devel@googlegroups.com
http://groups.google.com/group/yi-devel
-~----------~----~----~----~------~----~------~--~---

Reply via email to