Mercurial > vim
view src/testdir/test_langmap.vim @ 14921:b2308693cb87 v8.1.0472
patch 8.1.0472: dosinst command has a few flaws
commit https://github.com/vim/vim/commit/6cdb2c9811c33dbd312a5a2b711ee83f512ae7b2
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Oct 13 17:25:27 2018 +0200
patch 8.1.0472: dosinst command has a few flaws
Problem: Dosinst command has a few flaws.
Solution: Register DisplayIcon, DisplayVersion and Publisher for the
uninstaller. (closes #3485) Don't set 'diffexpr' if internal diff
is supported. Allow for using Vi compatible from the command line.
Remove needless sleeps. Add comments in the generated _vimrc.
(Ken Takata, closes #3525)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 13 Oct 2018 17:30:05 +0200 |
parents | 1a595b2a4d5e |
children | f38fcbf343ce |
line wrap: on
line source
" tests for 'langmap' if !has('langmap') finish endif func Test_langmap() new set langmap=}l,^x,%v call setline(1, ['abc']) call feedkeys('gg0}^', 'tx') call assert_equal('ac', getline(1)) " in Replace mode " need silent! to avoid a delay when entering Insert mode call setline(1, ['abcde']) silent! call feedkeys("gg0lR%{z\<Esc>00", 'tx') call assert_equal('a%{ze', getline(1)) " in Select mode " need silent! to avoid a delay when entering Insert mode call setline(1, ['abcde']) silent! call feedkeys("gg0}%}\<C-G>}^\<Esc>00", 'tx') call assert_equal('a}^de', getline(1)) quit! endfunc