You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also, imap <D-é> 2gt<CR>does not work. Instead, it writes <D-é>
Everything works with the snapshot 100.
edit: also, cmd + è does not work
edit: everything works fine for snapshot under 104
for 105 and 106, map <D-"> 3gt<CR> does not work
and for 107+ map <D-é> 2gt<CR> and map <D-è> 7gt<CR> do not work
I know I can input é character with this key sequence, option + e, and e. It sounds you have a keyboard which allows to input é character directly, right? I can't investigate this issue.
Still not working. (8.0.1203 (139))
To reproduce the issue, you have to switch your keyboard layout:
go to system preference->keyboard->Input Sources, add french-> ABC azerty.
Then add map <D-é> 2gt<CR> to your .vimrc.
Now open 2 tabs in gui macvim.
Check that your keyboard layout is the french one and then try to switch to the 2nd tab using cmd + é which should be cmd + 2 on a qwerty layout.
It is as simple as that.
Not sure what you want me to check.
Btw you need to test this using macvim's GUI because shortcuts using cmd+key do not work using vim inside a terminal.
And if you do like in insert mode: ctrl+v then cmd+é (which map to cmd+2 for qwerty keyboards) it prints <D-é>
I bet there's some "odd" default mapping for this key specifically or key processing inside macOS/MacVim/Vim
My observations:
mvim -u NONE -U NONE has the same issue
Command-2 is not in a game, I've tried to bind to it separately and it works fine
Only Normal mode is affected, Insert mode allows remapping this key, Visual mode hasn't been tested
Normally, if key is unbounded, I hear no sound in MacVim, with this key I hear an "error" sound.
This is is happening even I disable macmenu bindings and most keybindings I found
Finder throws similar sound effect
@R0GG I asked you to test by Karabiner to find out if this is not macOS-specific thing for NSTextView/NSTextField @ychin may be you have any ideas on this?
I had difficulty with mapping the "˜" symbol (n key) and solved it with custom layout with dead keys removed as described here: https://stackoverflow.com/a/455854/4177749
Activity
[-]cmd + é not working[/-][+]cmd + é does not work[/+]splhack commentedon Oct 16, 2016
It sounds the root cause of this issue is #300 right?
R0GG commentedon Oct 17, 2016
with debug:

R0GG commentedon Oct 19, 2016
That's not the same issue as #300.
I copy pasted the same part of code from 104 to 112 and it does not work.
R0GG commentedon Oct 21, 2016
I'm pretty sure that it's more a Vim issue than a MacVim issue.
splhack commentedon Oct 22, 2016
I know I can input
écharacter with this key sequence,option+e, ande. It sounds you have a keyboard which allows to inputécharacter directly, right? I can't investigate this issue.R0GG commentedon Oct 20, 2017
Still not working. (8.0.1203 (139))
To reproduce the issue, you have to switch your keyboard layout:
go to system preference->keyboard->Input Sources, add french-> ABC azerty.
Then add
map <D-é> 2gt<CR>to your .vimrc.Now open 2 tabs in gui macvim.
Check that your keyboard layout is the french one and then try to switch to the 2nd tab using
cmd + éwhich should becmd + 2on a qwerty layout.It is as simple as that.
eirnym commentedon May 18, 2019
@R0GG Does your issue is still actual? Which macOs do you use? Which keyboard layout do you use?
R0GG commentedon May 23, 2019
Yup masOS Mojave 10.14.4
keyboard is french -> french
eirnym commentedon May 24, 2019
This key seems to be bonded in any app on my macOS. Could you try to use Karabiner or similar software to check where does it go?
R0GG commentedon May 24, 2019
Not sure what you want me to check.
Btw you need to test this using macvim's GUI because shortcuts using cmd+key do not work using vim inside a terminal.
And if you do like in insert mode: ctrl+v then cmd+é (which map to cmd+2 for qwerty keyboards) it prints
<D-é>eirnym commentedon May 24, 2019
I bet there's some "odd" default mapping for this key specifically or key processing inside macOS/MacVim/Vim
My observations:
mvim -u NONE -U NONEhas the same issueCommand-2is not in a game, I've tried to bind to it separately and it works fine@R0GG I asked you to test by Karabiner to find out if this is not macOS-specific thing for NSTextView/NSTextField
@ychin may be you have any ideas on this?
xaiamov commentedon May 1, 2020
It seems to be a "dead key" problem.
I had difficulty with mapping the "˜" symbol (n key) and solved it with custom layout with dead keys removed as described here: https://stackoverflow.com/a/455854/4177749