dynium / vim

Automatically exported from code.google.com/p/vim
0 stars 0 forks source link

langmap applies to Command-line mappings #376

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'm observing this issue on OS X with Vim 7.4, patches 1–729, +langmap (among 
others). It seems similar to a previously-reported problem with Insert mode 
(http://thread.gmane.org/gmane.editors.vim.devel/48562) that was fixed by patch 
7.4.552.

In the same vein, the problem should be reproducible by starting Vim like so…

    vim -u NONE -c 'cnoremap } X| set langmap=+} langnoremap'

…entering Command-line mode, and trying to type a "+". This should produce a 
"+", but it inserts "X" instead.

The attached patch fixes the issue, as far as I can tell.

Original issue reported on code.google.com by larry.ve...@gmail.com on 19 Jun 2015 at 6:01

Attachments:

GoogleCodeExporter commented 9 years ago
Patch included as 7.4.773

Original comment by brammool...@gmail.com on 10 Jul 2015 at 4:10