On Sat, Apr 24, 2010 at 10:48 AM, MJG <[email protected]> wrote: > 1. When starting yi for a first time I get an option to use vim or > emacs mode. Then config is pre-generated, and saved, but it is always > with Emacs keybindings, even if I pick Vim mode. > > Is it expected behaviour, or something to report?
Are you talking about the static, default config when you run Yi without a config file? This doesn't save the keymap past the specific launch. To use the vim keymap, you'll need to make a config file ~/.yi/yi.hs. Check out yi/examples/yi-vim.hs, or there are a few other vim examples. You can also look in yi/src/Yi/Users/ for a few config examples. > 2. I've got an error message about failed recompilation of config file > once, but never again. I'm running in Vim mode. > Is there any way to always get detailed error message after > recompilation? Hm, if the config file fails to compile, it should open the **errors** buffer in Yi, even if you open another file in the command-line. Your last working config file may have messed up this behavior (not sure how, though), so you could try trashing ~/.cache/yi/yi-[platform]-[arch]. The Dyre package handles the recompilation, and when there are errors, we prepend an action to create the buffer with the errors, which should show that buffer. The source for this is in src/Yi/Boot.hs. > 3. It seems that "import" statement in Python lexer is not treated > with importStyle. Here is a patch: Can you create a darcs patch for this? Use `darcs record', then `darcs send' to push it to the mailing list (I think there's also an option to output it to a file if you don't have postfix or such on your machine; you can then attach it manually). This is easier for us, and you can receive credit for your work. > 4. I noticed that special characters do not have associated > highlighting mode, as in Vim, so I was quick to workaround, like: > But this is only workaround. Do you believe that it would be > beneficial to add specialStyle to Theme type, > and handle Special token in its own special way, like Vim does? I think JPB (officially the maintainer) is better-suited to answer that question. I'm inclined to support this, but there may be a reason not to that I don't know about. > 5. I noticed that :help command gives an empty result [""]. Is it a > place to work on, user documentation? I think everybody would like this feature, but there's not really anything there yet. There's a ticket in the bug tracker [1]. > PS I found a lot of joy in Yi's quick startup. I'd actually consider > porting all my Vim scripts to Yi, but it may yet be hard without an > idea of what lies where from a user's perspective. Presently, the goal is to increase Yi's "fun factor," so pretty much anything is fine in the Yi src tree. [1] http://code.google.com/p/yi-editor/issues/detail?id=253 -- Jeff Wheeler Undergraduate, Electrical Engineering University of Illinois at Urbana-Champaign -- Yi development mailing list [email protected] http://groups.google.com/group/yi-devel
