blob: 5f895a46f2179bfa547a7b0cab15499e316e0566 [file] [log] [blame]
Bram Moolenaarbdef5182014-10-21 16:22:17 +02001Test for mappings and abbreviations
2
3STARTTEST
4:so small.vim
5:so mbyte.vim
Bram Moolenaar7a373dd2014-10-22 22:09:01 +02006:set encoding=utf-8
Bram Moolenaarbdef5182014-10-21 16:22:17 +02007: " abbreviations with р (0x80) should work
8:inoreab чкпр vim
9GAчкпр
10
Bram Moolenaarc68c72e2014-12-14 00:43:54 +010011
12: " langmap should not get remapped in insert mode
13:inoremap { FAIL_ilangmap
14:set langmap=+{ langnoremap
15o+
16: " expr mapping with langmap
17:inoremap <expr> { "FAIL_iexplangmap"
18o+
19
Bram Moolenaarbdef5182014-10-21 16:22:17 +020020:/^test/,$w! test.out
21:qa!
22ENDTEST
23
24test starts here:
25