Coder Social home page Coder Social logo

diacritic's Introduction

Diacritic

Vim plugin to transliterate from alphabet with diacritics into latin alphabet. Or put simply: it removes diacritics.

Transliteration can be illustrated by the following example. Suppose you have a Czech text:

Příliš žluťoučký kůň úpěl ďábelské ódy.

Then the transliterated text without diacritics is:

Prilis zlutoucky kun upel dabelske ody.

Prerequisites

  • glibc - GNU C library must be installed in the system.
  • Plugin is currently tested only on Linux.

Installation

  • Using Pathogen

    Clone this repository to your .vim/bundle directory, for example:

    cd ~/.vim/bundle
    git clone https://github.com/kubahorak/diacritic.git
    
  • Manually

    Download the zip file and extract its contents into your .vim directory.

Usage

Use command <leader>p in visual mode, visual block mode or use it with standard motion operators.

E.g. <leader>p3e removes diacritics from the next 3 words.

You can also use ex command :DiacriticTranslit to transliterate the whole line or range of lines.

For more information please refer to the Vim help page.

License

MIT License. Copyright (c) 2014 Jakub Horák

diacritic's People

Contributors

kubahorak avatar

Stargazers

Yuri Vecchi avatar

Watchers

 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.