Vim Editor Can't detect AltGr well

Seems like when I’m using the vim editor, whenever I press AltGr, it’s just detected as some key instead of a modifier and I can’t use it to type characters like <

What keyboard layout do you use ?

Hungarian QWERTZ layout

Maybe it’s a specific bug with this layout. Do you have the same bug with an other layout like the US QWERTY ?

Well, the us layout doesn’t have altgr, but same issue with german layout