wiki:vim

Version 14 (modified by Ag. Hatzimanikas, 13 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.2.

Apply the patch.

patch -Np1 -i ../vim-7.2-langmapmb.patch

Patch to print the line number relative to the line with the cursor.

Patch by Markus Heidelberg. http://groups.google.com/group/vim_dev/browse_thread/thread/0a6dd45468531f4e#

Apply the patch.

patch -Np0 -i ../vim-7.2-relativenumber-02.patch

Patch that enhances floating point support.

Patch by Bill McCarthy.

http://groups.google.com/group/vim_dev/browse_thread/thread/de192817983abb54#

Apply the patch.

patch -Np0 -i ../vim-7.2-floating_point.patch

Patch that provides a Lua interface.

Patch by Luis Carvalho.

http://groups.google.com/group/vim_dev/browse_thread/thread/eb364183202ffb0c

Apply the patch.

zcat ../vim72-lua.patch.gz |patch -Np1
cd src
autoconf
..

Add then to the configure options.

--enable-luainterp --with-lua-prefix=/usr

Up
Top

Attachments (10)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.