Giter VIP home page Giter VIP logo

russian-plansliterated's Introduction

This is a mirror of http://www.vim.org/scripts/script.php?script_id=2401

Check out translit.vim (vimscript #2469), which should be considered as a successor of this plugin.

-------------------------------

This plug-in allows you to write transliterated Russian (Cyrillic alphabet)
in insert and replace mode. Other modes are unaffected and just work (which
makes it superior to relying on GTK's input methods).
                                                                                      
Transliteration is heavily biased towards Polish orthography and phonetics,
eg. "ч" is spelled as "cz" (not "ch"), "Я" is "Ja", not 'Ya', etc. This is
why it's called PLansliterated :) It's quite trivial to turn this plug-in
into english transliteration, CZransliteration, FRansliteration, etc. If
you do so for your 'source' language of choice, feel free to post your work
on vim.org or just drop me a line.
                                                                                      
Usage:
Turn transliteration on and off by :RussianOn, :RussianOff or :ToggleRussian
commands. You can also use CTRL+q (both in insert and normal mode) for
toggling.
                                                                                      
Most of characters should be quite intuitive (at least if you're Polish).
I decided to make both "e" and "je" represent Cyrillic "е".
Use "e'" to get 'э'. "'" stands for "ь" and "`" is for "ъ". Prefix with
tilde to get uppercase variants of твердый and мягкий знак, eg. "~`" for "Ъ".

If you need several Latin letters for one uppercase Cyrillic, you can use
both all-uppercase, or only the first one capitalised, like "SZCZ" or "Szcz" for "Щ".
                                                                                      
Set g:cursor_follows_alphabet to make cursor color change when alphabet is
switched.
                                                                                      
Use the source when in doubt.
                                                                                      
Blablabla:
Have fun using this plug-in!
Comments are welcome.

russian-plansliterated's People

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.