International Keymap
Creates localised keymaps based on sublime keymaps files.
Details
Installs
- Total 137
- Win 93
- Mac 26
- Linux 18
Jul 26 | Jul 25 | Jul 24 | Jul 23 | Jul 22 | Jul 21 | Jul 20 | Jul 19 | Jul 18 | Jul 17 | Jul 16 | Jul 15 | Jul 14 | Jul 13 | Jul 12 | Jul 11 | Jul 10 | Jul 9 | Jul 8 | Jul 7 | Jul 6 | Jul 5 | Jul 4 | Jul 3 | Jul 2 | Jul 1 | Jun 30 | Jun 29 | Jun 28 | Jun 27 | Jun 26 | Jun 25 | Jun 24 | Jun 23 | Jun 22 | Jun 21 | Jun 20 | Jun 19 | Jun 18 | Jun 17 | Jun 16 | Jun 15 | Jun 14 | Jun 13 | Jun 12 | Jun 11 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
Mac | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- bitbucket.org
InternationalKeymap
Creates localised keymaps based on sublime keymaps files.
As you can see sublime keymaps created for English layout doesn't works when you change keyboard layout on your local. More precisely its doesn't work for different characters on same keys. This problem especialy perceptible for Cyrillic layouts.
This plugin helps you to translate existing English keymaps to your local layout.
IMPORTANT
Because of python doesn't provide access to system layouts without root privilege you must describe your layout by yourself in the settings in the specified format.
Settings
Layouts
The main settings element is layouts
object that contain qwerty
layout and infinite local layouts. The qwerty
layout is reference layout that will be compared with any other for translating.
The format of layouts is very simple. You just write all needed for translate symbols in English(qwerty
) layout and than you type same keys with local symbols in your local layout in same order. During the translating all symbols in local layouts will be compared with symbols at same positions in qwerty
and if its differs - will be created new translated keymap for this symbol.
E.g. by default the plugin settings contain qwerty
and йцукен
(Cyrillic) layouts. This is just 4 rows of main qwerty keyboard keys typed ltr - 123...bnm,./
. But you don't have to describe all keys or use this order. For your case you can describe any count of keys in any order. The main thing is that they must follow in the same order for every layout.
You can use verbal symbol names in your layouts. This names must be in brackets. All space characters in layouts will be ignored.
E.g.:
{
"layouts": {
"qwerty": "`(minus)[",
"йцукен": "ёг х"
}
}
In this example grave symbol will be translated as Cyrillic 'ё', all occurrences of minus
will be translated as 'г', '[' >> 'х'(Cyrillic).
Auto_generate [true|false]
Second option - auto_generate
allow to controll automatic generation of local keymaps on sublime loading or when update(save) any *.sublime-keymap
file. Auto generation first verify checksums of *.sublime-keymap
files and only if its was modified generate new keymap rules.
Single_keys [true|false]
Last option is single_keys
- controls translation of keymaps consisting from 1 key. As [
that using for insert snippets.
Using
Auto generation
As you already know the plugin can automatically generate localised keymaps if appropriate option enabled in settings.
Manual generate command
In sublime comand palette you can use command International keymap: Generate
for manual generation of keymaps.
Settings editing
Another command Preferences: International keymaps
helps you to open the plugin settings files.