kosperun12 downloadsConvert selected text between English and Ukrainian keyboard layouts, for when you forgot to switch layout before typing
Converts selected text between English (QWERTY) and Ukrainian keyboard layouts — for when you typed a word without switching layout first.
Example: select Erhf]yf, run "Convert selection to Ukrainian layout", get Україна.
No build step required — it's plain JavaScript that Obsidian runs directly.
Install it directly from within Obsidian (Community Plugins).
Alternatively, you can install it manually:
<YourVault>/.obsidian/plugins/
(if .obsidian isn't visible, enable "show hidden files" in your file
explorer — it's a hidden folder).plugins, create a new folder called layout-switcher-uk-en.manifest.json and main.js into that folder.
You should end up with:<YourVault>/.obsidian/plugins/layout-switcher-uk-en/manifest.json
<YourVault>/.obsidian/plugins/layout-switcher-uk-en/main.js
Go to Settings → Hotkeys, search for "layout", and you'll see three commands:
Assign whichever hotkey(s) you like. Most people will just want one hotkey bound to "Fix layout (auto-detect direction)" — select the mistyped word, press the hotkey, done. The other two are there if you ever want to force a specific direction.
If you don't select anything and just place your cursor inside a word before pressing the hotkey, the plugin will grab that whole word automatically.
The conversion is based on physical key position (the same layout mapping tools like Punto Switcher use), covering all standard Ukrainian letters. The rare letter "ґ" is mapped to the backtick/tilde key since it doesn't have a dedicated slot on most physical keyboards.