3 Nov 2010 15:40
Binding some function to a key
Hi, I would like to start using Yi. I found this tutorial on the web. http://www.nobugs.org/developer/yi/example-helloworld.html As I understand the tutorial is outdated and quite a few things have changed since then. Is there something more up to date on the web somewhere? One question in particular. I defined some function. How can I get access to that, so that I can do "M-x myFunction"? I found some hint from 2008 that I should look into the Yi.Yi module... but couldn't find a Yi.Yi module. I guess that hint is old, too. I also tried to bind M-r to some function. It complies, but I must nevertheless do something wrong, as M-r is still not recognised as a valid key. I attached my ~/.yi/yi.hs below. I can remember that when I heard from Yi the first time, one of the selling points was, that you could recompile your configuration file on the fly -- just the same way as it works with Xmonad. I love this feature in Xmonad, but I can't find a "recompile"-function or anything similar in the Yi-index on hackage. Is it called something different? Thanks for your help. Thomas(Continue reading)
RSS Feed