yi-editor / yi

The Haskell-Scriptable Editor
GNU General Public License v2.0
1.51k stars 203 forks source link

Allow the use of Super in Vim keybindings #1019

Open mrkgnao opened 7 years ago

mrkgnao commented 7 years ago

I'd like to tackle this and would appreciate pointers.

It appears Super-<ASCII> keybindings are mysteriously getting the Super filtered out of them before being sent to eventToEventString (in Yi.Keymap.Vim.EventUtils), whereas trying to press, e.g. <S-Esc> works (and I can define keybindings with it now after a bit of hacking on that module).

mrkgnao commented 7 years ago

In addition, can the modifier system be redesigned to support a set of modifiers, instead of a list?