Mercurial > vim
view src/testdir/dotest.in @ 4865:d84833983de7 v7.3.1179
updated for version 7.3.1179
Problem: When a global mapping starts with the same characters as a
buffer-local mapping Vim waits for a character to be typed to find
out whether the global mapping is to be used. (Andy Wokula)
Solution: Use the local mapping without waiting. (Michael Henry)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 12 Jun 2013 21:00:26 +0200 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
:set cp :map dotest /^STARTTEST j:set ff=unix cpo-=A :.,/ENDTEST/-1w! Xdotest :set ff& cpo+=A nj0:so! Xdotest dotest dotest