" Tests for maparg(). " Also test utf8 map with a 0x80 byte. if !has("multi_byte") finish endif function s:SID() return str2nr(matchstr(expand(''), '\zs\d\+\ze_SID$')) endfun function Test_maparg() new set cpo-=< set encoding=utf8 " Test maparg() with a string result map foo isfoo vnoremap