This repository was archived by the owner on Apr 1, 2020. It is now read-only.

Description
Alt-Shift-Xis received as <M-x> in oni, but as <M-X> in neovim (gui). Notice the capital X. This applies to any Alt-Shift combination. init.vim keybindings differentiate between <M-X> (uppercase) keybindings and <M-x> (lowercase) keybindings, i.e. shift pressed / not pressed. nmap <M-X> :something<CR> will only be triggered if shift is pressed.
This can be fixed in onivim by adding the following to your configuration:
oni.input.resolvers.addResolver((event, key) => {
if(event.altKey && event.shiftKey) return key.toString().toUpperCase()
return key;
})
Oni Version: 0.3.9
Neovim Version (Linux only): 0.3.8
Operating System: Arch Linux