I'd like to use *Yi* to edit Haskell like I'm doing with *vim*. I've 
installed *Yi* and I'm using the *yi-vim.hs* example config. I'd like to 
implement my vim key bindings in *Yi*, but my first problem is the *leader* 
key; my vim leader key is *,* so I've added the following line of code to 
*myBindings* function

..
, nmap ",wn" newTabE
..

But it doesn't work. Changing this code to

..
, nmap "\\wn" newTabE
..

works fine.
Maybe my problem is that *defNormalMap* form *Yi.Keymap.Vim.NormalMap* 
defines a keybinding for the key *,* and this keybinding matches first and 
consumes the event key *,*.
Is there any way to make bindings strings like "*,ww*", "*,wk*" or "*,wj*" 
have best match preference over the single key "*,*"?

Thanks.

-- 
-- 
Yi development mailing list
yi-devel@googlegroups.com
http://groups.google.com/group/yi-devel
--- 
You received this message because you are subscribed to the Google Groups 
"yi.devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to yi-devel+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to