Keyboard localization package for non US-Keyboard Layouts
This is a compatibility package for atom text editor which tries to remap keycodes for your given keyboard layout.
Whats working
- Prevent default keybindings from being fired
- Keybindings in your foreign keyboard layout
- AltGr-Key (works for me on german layout)
- vim-mode keybindings
- tested on Windows and Linux
Supported Keyboard Layouts atm
- German 105-key "QWERTZ" (
de_DE) - German Neo-Layout (
de_DE-neo) - Spanish (
es_ES) - untested - French (
fr_FR) - Belgian French (
fr_BE) - Canadian French (
fr_CA) - Polish (
pl_PL) - untested - Danish (
da_DK) - untested - Norwegian (
nb_NO) - untested - Swedish (
sv_SE) - untested - Hungarian (
hu_HU) - untested - Romanian (
ro_RO) - untested - Slovenian (
sl_SL) - untested - Italian (
it_IT) - Portuguese (
pt_PT) - untested
Feel free to send me Issues/PRs so i can add more keymaps.
Generate your own keymap
You can generate your own localized key-translation-table for your keyboard layout.
Open the generator keybinding-generator\generate-keybindings.html included in this package in Chrome(other Browsers may not work) and press all keys(with and without modifiers Shift/Alt) from your keyboard who differ from the US-Layout. Copy the generated JSON-keybindings and create a Json-File.
Then set the package setting UseKeyboardLayoutFromPath to your given filename(absolute path).
Todo
- add more foreign Keyboard-Layouts
- write tests
add custom path for keymap file
This package tries to fill the gap till the following issues are fixed
- Chromium Issue 263724: KeyboardEvent does not match the latest specification
- Chromium Issue 300475: Issues with non US keyboard layout keyboard events or editing
- Chromium Issue 168971: Implement 'locale' attribute in KeyboardEvent
- Atom Issue 35: Right ALT not supported (bad for International Keyboards)
- Atom Issue 37: Foreign keyboard layouts not working
Credits
All thanks go to original author -> DavidBadura