andischerer/atom-keyboard-localization

Ctr+/ not working with French keyboard

Closed this issue · 7 comments

Hi,

I have an issue with the toggle comments command when using the French keyboard setting.
It works when the localization package is disabled.

Thank you!
Faris

I had the same issue with the fr_BE layout on Windows but I fixed it by putting this in my keymap.cson file (File > Open Your Keymap):
'.platform-win32 atom-text-editor':
'ctrl-:': 'editor:toggle-line-comments'

Awesome, it works, thanks :)
for Linux it's this syntax: (on one line):

'.platform-linux atom-text-editor': 'ctrl-:': 'editor:toggle-line-comments'
gour commented

Let me add that it toggle-comment does not work on my Linux machine using sl_SL keymap as well.

Disabling package and using the above-mentioned:

'.platform-linux atom-text-editor': 'ctrl-:': 'editor:toggle-line-comments'

setting works.

The command doesn't work for de_DE either. The keybinding-resolver explains why:
In order to enter a / on German keyboards, shift-7 has to be pressed. So what atom receives when ctrl-/ is pressed is

ctrl-shift-7

which is abviously not equal to ctrl-/, thus not triggering the command...

The mentioned workaround works here too of course (but with 'ctrl-&').
But I'd prefer to have all the other keybindings fixed as well, without the need to map them all manually.

I have the same issue, on a French keyboard

This package has been deprecated.
See details