pimentel / atom-r-exec

Send R code to various R consoles from the Atom editor
https://atom.io/packages/r-exec
MIT License
19 stars 8 forks source link

Using the Alt+letter key for bindings breaks Mac keyboards #50

Open teoric opened 7 years ago

teoric commented 7 years ago

I would be grateful if you could consider removing bindings with Alt+Letter from the package's Mac key bindings.

Using the alt-modifier alone without any other modifier (Cmd, Ctrl) – shift does not count! – shadows additional symbols available on the keyboard. E.g., on a German or even US keyboard, I now cannot type the en-dash (Alt+Minus) anymore due to the r-exec keybinding, which is also active in Markdown mode, where it is quite useless. I would be grateful if the default configuration would not break keyboard behaviour; such grave changes should be opt-in in my opinion.

pimentel commented 7 years ago

hm. I didn't realize it breaks international keyboards. these defaults were modeled after other software that uses similar key bindings (alt-- is used as a default in RStudio).

any suggestions on alternative bindings?

thanks

teoric commented 7 years ago

Thank you for considering this issue! (By the way, as I wrote It does not only break international keyboards, but also the Mac US keyboard, which also has the en-dash at Alt-Dash). Options I see right now: