neovide: fails to interprets in Macos. I set `neovide_input_macos_alt_is_meta `
In Macos, I set vim.g.neovide_input_macos_alt_is_meta = true
, keys works fine except <A-n>.
I don’t know if someone can reproduce it. But other keys like <A-m> and <A-p> are ok.
To Reproduce <A-n> can not be matched.
Expected behavior
Screenshots
https://github.com/neovide/neovide/assets/39361033/19c3ec45-f4a7-46ab-8e6e-50952b6bb603
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: 13.3.1 (a) (22E772610a)
- Neovide Version 0.10.4
- Neovim Version 0.9.0
Please run neovide --log
and paste the contents of the .log
file created in the current directory here:
Additional context Add any other context about the problem here.
About this issue
- Original URL
- State: open
- Created a year ago
- Comments: 30 (17 by maintainers)
If I remember correctly, the dead keys are delivered using the IME system on the mac. So it’s likely that the ime system handles it completely, and therefore nothing is delivered to Neovide.
You can try disabling IME https://neovide.dev/configuration.html#ime
vim.g.neovide_input_ime = false
I suggest adding
--clean
to the command as well so, otherwise it may in some cases load existing plugins.target/debug/neovide -- --clean -u c.lua
Yep, the Mac UK keyboard layout has option-n as a “dead key”; it temporarily types a
~
, which you can follow up with e.g. a regular “n”, to produceñ
. option-m though produces a single character,µ
, so not a dead key.