Vty does not support XTerm (see http://code.haskell.org/vty/TODO).
I'm using FreeBSD (PC-BSD) with Konsole and YI is not very usable because such
simple keys as "Home" and "End" does not work.
I have found, however, how to fix this in "~/.yi/yi.hs":

   defaultKm =
     -- see /usr/local/etc/joe/joerc, eol, "^[ [ F"
     (spec KEsc ?>> char '[' ?>> char 'F' ?>>! moveToEol)
     -- home, "^[ [ H"
     <|> (spec KEsc ?>> char '[' ?>> char 'H' ?>>! moveToSol)
     <|| Cua.keymap

BTW, is there a wiki of sorts where such things (as this configuration issue)
could / should be docummented?


--~--~---------~--~----~------------~-------~--~----~
Yi development mailing list
[email protected]
http://groups.google.com/group/yi-devel
-~----------~----~----~----~------~----~------~--~---

Reply via email to