How to include Russian language support in Vintage Mode (Vim) Sublime Text 3?
-
How do you turn on the cheerleader? A little tired of switching the command mode every time.
-
The decision, how to appoint the kyril letters and the symbols of the Russian layout, the same crews as the symbols of the English, which are attached to them on the same keyboard,
й
the same asq
♪ц
♪w
And so on.If you did.
{ "keys": ["q", "<character>"], "command": "vi_begin_record_macro", "context": [{"key": "setting.command_mode"}] },
We should add to the hotke file:
{ "keys": ["й", "<character>"], "command": "vi_begin_record_macro", "context": [{"key": "setting.command_mode"}] },
To avoid spending time on self-revision for every keyboard, there's a code where we've done everything for us. Preferences , Key Bindings - User . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . https://raw.githubusercontent.com/cyberxndr/sublime-vintage-cyrillic/master/cyrillic.sublime-keymap (in case http://archive.ec/LG2a8 ) remain.
If you already have some user hot keys in this file, remove the extra [quadrant brackets], example:
It was:
[ { "keys": ["alt+home"], "command": "sublimeserver_browser" }, { "keys" : ["ctrl+shift+,"], "command" : "open_dir", "args" : {"dir" : "$file_path"} }, ]
It was:
[ { "keys": ["alt+home"], "command": "sublimeserver_browser" }, { "keys" : ["ctrl+shift+,"], "command" : "open_dir", "args" : {"dir" : "$file_path"} }, { "keys": ["escape"], "command": "exit_insert_mode", "context": [ { "key": "setting.command_mode", "operand": false }, { "key": "setting.is_widget", "operand": false } ] }, <Тут остальной код без квадратных скобок в конце, так как у нас уже есть завершающая квадратная скобка> ]
https://github.com/cyberxndr/sublime-vintage-cyrillic#installation which can be changed to the contents of the file.
Default.sublime-keymap
in the file.Vintage
, however, the updates of Sublime Text 3 may rewrite it, and your changes will be missing why I recommend editing a file that will open after Preferences , Key Bindings - User♪Demonstration:
If you've changed the default keyboards for the English crew, you'll have to make similar amendments to the Cyrillic.