Mercurial > vim
comparison src/testdir/test_mapping.vim @ 18341:a9d518b1271b v8.1.2165
patch 8.1.2165: mapping test fails on Mac
Commit: https://github.com/vim/vim/commit/4f2f61a014e80217a2d6ac476c8f94e250a3d0ff
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Oct 16 22:27:49 2019 +0200
patch 8.1.2165: mapping test fails on Mac
Problem: Mapping test fails on Mac.
Solution: Remove the default Mac mapping.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 16 Oct 2019 22:30:05 +0200 |
parents | 1784afa654c8 |
children | 5b12fd0c39c3 |
comparison
equal
deleted
inserted
replaced
18340:e42270cd4457 | 18341:a9d518b1271b |
---|---|
442 call delete('Xtest.vim') | 442 call delete('Xtest.vim') |
443 exe buf .. 'bwipe!' | 443 exe buf .. 'bwipe!' |
444 endfunc | 444 endfunc |
445 | 445 |
446 func Test_list_mappings() | 446 func Test_list_mappings() |
447 " Remove default Mac mapping | |
448 silent! iunmap <D-v> | |
449 | |
447 inoremap <C-M> CtrlM | 450 inoremap <C-M> CtrlM |
448 inoremap <A-S> AltS | 451 inoremap <A-S> AltS |
449 inoremap <S-/> ShiftSlash | 452 inoremap <S-/> ShiftSlash |
450 call assert_equal([ | 453 call assert_equal([ |
451 \ 'i <S-/> * ShiftSlash', | 454 \ 'i <S-/> * ShiftSlash', |