oni icon indicating copy to clipboard operation
oni copied to clipboard

Can't autocomplete quotation marks using custom keyboard

Open EduardoRomo opened this issue 8 years ago • 1 comments

Oni Version: 0.3.6 Operating System: Windows 10

Issue: Can't autocomplete quotation marks when Oni is opened with a custom keyboard activated . This keyboard layout was created with Microsoft Keyboard Layout Creator and it has minimal differences with a standard US-QWERTY keyboard. However, it does autocomplete if it's opened with the default US keyboard activated and then changed to the custom one.

I tried to autocomplete using the native feature and using auto-pairs, the later works properly on vim and neovim but not on Oni. Also, surround doesn't work properly when quotes are involved (see image and notice unexpected characters before quotation marks)

I suspect the problem is related to these results from getCurrenKeyboard(), since the "Quote" is undefined for the custom keyboard.

Opening Oni with default US keyboard activated:

Opening Oni with custom keyboard activated:

EduardoRomo avatar Sep 10 '18 21:09 EduardoRomo

Hello and welcome to the Oni repository! Thanks for opening your first issue here. To help us out, please make sure to include as much detail as possible - including screenshots and logs, if possible.

oni-bot avatar Sep 10 '18 21:09 oni-bot