Version 16 (modified by 15 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-0.2.patch.gz |patch -Np1 cd src make autoconf ..
Add then to the configure options.
--enable-luainterp --with-lua-prefix=/usr
Attachments (10)
- vim-7.2-langmapmb.patch (6.7 KB ) - added by 15 years ago.
- vim-7.2-floating_point.patch (7.1 KB ) - added by 15 years ago.
- vim-7.2-relativenumber-02.patch (45.8 KB ) - added by 15 years ago.
- vim72-lua-0.2.patch.gz (12.8 KB ) - added by 15 years ago.
- vim72-lua-0.3.patch.gz (12.8 KB ) - added by 15 years ago.
- vim72-lua-0.4.patch.gz (14.6 KB ) - added by 15 years ago.
- vim72-lua-mak-0.4.patch.gz (3.1 KB ) - added by 15 years ago.
- vim72-lua-0.5.patch.gz (14.6 KB ) - added by 15 years ago.
- vim72-lua-mak-0.5.patch.gz (3.0 KB ) - added by 15 years ago.
- vim72-lua-0.6.patch.gz (14.8 KB ) - added by 15 years ago.
Download all attachments as: .zip