Mercurial > vim
diff src/testdir/test75.in @ 3026:6018c815e120 v7.3.285
updated for version 7.3.285
Problem: Mapping <Char-123> no longer works.
Solution: Properly check for "char-". Add a test for it.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Fri, 19 Aug 2011 22:29:02 +0200 |
parents | 6c05b5e5c1be |
children | 1cf89d38aa76 |
line wrap: on
line diff
--- a/src/testdir/test75.in +++ b/src/testdir/test75.in @@ -2,6 +2,7 @@ STARTTEST :so small.vim +:set cpo-=< :" Test maparg() with a string result :map foo<C-V> is<F4>foo :vnoremap <script> <buffer> <expr> <silent> bar isbar @@ -9,6 +10,11 @@ STARTTEST :call append('$', string(maparg('foo<C-V>', '', 0, 1))) :call append('$', string(maparg('bar', '', 0, 1))) :" +:map abc x<char-114>x +:call append('$', maparg('abc')) +:map abc y<S-char-114>y +:call append('$', maparg('abc')) +:" :/^eof/+1,$w! test.out :qa! ENDTEST