Search code examples
linuxwindowsvimcommand-line

Compile vim with +Farsi to have Farsi mapping


I want to use vim with Farsi and I don't know how to do that.

This link described how to do that but I don't know how to compile vim.

I use Debian 7.0 amd64 and Windows 7 x64


Solution

  • On Debian-based distributions, the vim-gtk (or vim-gnome) package is usually the most featureful and comes with Farsi support by default. You can install it with this command:

    $ sudo apt-get update && apt-get install vim-gtk
    

    As for Farsi fonts I suggest you use your distribution's package manager to search for and install the necessary packages. I have no idea if there's a monospaced Farsi font, though, so don't expect too much.