wiki:vim

Version 4 (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.


Patch to print the line number relative to the line with the cursor in front of each line.

Patch from Markus Heidelberg. http://groups.google.com/group/vim_dev/msg/d5a17838fa48f20e

Apply the patch.

patch -Np1 -i ../vim-7.1-relative_number.patch

Up
Top

Attachments (10)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.