view src/testdir/test_mapping.in @ 6460:29f5cfca3388 v7.4.559

updated for version 7.4.559 Problem: Appending a block in the middle of a tab does not work correctly when virtualedit is set. Solution: Decrement spaces and count, don't reset them. (James McCoy)
author Bram Moolenaar <bram@vim.org>
date Wed, 17 Dec 2014 18:35:42 +0100
parents c8d6dbdd1156
children ccb6962585f1
line wrap: on
line source

Test for mappings and abbreviations

STARTTEST
:so small.vim
:so mbyte.vim
:set encoding=utf-8
: " abbreviations with р (0x80) should work
: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

test starts here: