1
0
forked from aniani/vim

updated for version 7.4.552

Problem:    Langmap applies to Insert mode expression mappings.
Solution:   Check for Insert mode. (Daniel Hahler)
This commit is contained in:
Bram Moolenaar
2014-12-14 00:43:54 +01:00
parent b12db9f92e
commit c68c72ea7b
4 changed files with 14 additions and 1 deletions

View File

@@ -8,6 +8,15 @@ STARTTEST
:inoreab чкпр vim
GAчкпр

: " langmap should not get remapped in insert mode
:inoremap { FAIL_ilangmap
:set langmap=+{ langnoremap
o+
: " expr mapping with langmap
:inoremap <expr> { "FAIL_iexplangmap"
o+
:/^test/,$w! test.out
:qa!
ENDTEST

View File

@@ -1,2 +1,4 @@
test starts here:
vim
+
+