wiki:vim

Version 3 (modified by Ag. Hatzimanikas, 16 years ago) ( diff )

--

Vim

Patch to support multi-byte characters in langmap option

From :help langmap

The langmap option allows switching your keyboard into a special language mode. When you are typing text in Insert mode the characters are inserted directly. When in command mode the 'langmap' option takes care of translating these special characters to the original meaning of the key. This means you don't have to change the keyboard mode to be able to execute Normal mode commands.

Original patch by Konstantin Korikov http://tech.groups.yahoo.com/group/vim-multibyte/message/2232?l=1. Rediffed to support vim-7.1.

Apply the patch.

patch -Np1 -i ../vim71-langmapmb.patch

Then continue with the rest of blfs instructions to build vim.


To update at anytime the Vim runtime files, issue from the top of the directory sources tree:

rsync -avzcP --delete --exclude="/dos/" --exclude="/spell/" ftp.nluug.nl::Vim/runtime/ ./runtime/

We are excluding the dos and the spell files (adjust as necessary).

Now, as root:

make -C src installruntime

Up
Top

Attachments (10)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.