Mercurial > vim
view src/testdir/test32.in @ 11273:96d83cd2904a v8.0.0522
patch 8.0.0522: Win32: when 'clipboard' is "unnamed" yyp does not work
commit https://github.com/vim/vim/commit/3fcfa35f82b9d1ef5e95051b3a45578e10c14ec3
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Mar 29 19:20:41 2017 +0200
patch 8.0.0522: Win32: when 'clipboard' is "unnamed" yyp does not work
Problem: MS-Windows: when 'clipboard' is "unnamed" yyp does not work in a
:global command.
Solution: When setting the clipboard was postponed, do not clear the
register.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 29 Mar 2017 19:30:06 +0200 |
parents | ae45d497868f |
children |
line wrap: on
line source
Test for insert expansion :se cpt=.,w * add-expands (word from next line) from other window * add-expands (current buffer first) * Local expansion, ends in an empty line (unless it becomes a global expansion) * starts Local and switches to global add-expansion :se cpt=.,w,i * i-add-expands and switches to local * add-expands lines (it would end in an empty line if it didn't ignored it self) :se cpt=kXtestfile * checks k-expansion, and file expansion (use Xtest11 instead of test11, * because TEST11.OUT may match first on DOS) :se cpt=w * checks make_cyclic in other window :se cpt=u nohid * checks unloaded buffer expansion * checks adding mode abortion :se cpt=t,d * tag expansion, define add-expansion interrupted * t-expansion STARTTEST :so small.vim :se nocp viminfo+=nviminfo cpt=.,w ff=unix | $-2,$w!Xtestfile | set ff& :set belloff=all :se cot= nO#include "Xtestfile" ru O :se cpt=.,w,i kOM :se cpt=kXtestfile :w Xtest11.one :w Xtest11.two OIXA :" use CTRL-X CTRL-F to complete Xtest11.one, remove it and then use :" CTRL-X CTRL-F again to verify this doesn't cause trouble. OXddk :se cpt=w OST :se cpt=u nohid oOEN unl :se cpt=t,d def=^\\k* tags=Xtestfile notagbsearch O a :wq! test.out ENDTEST start of testfile run1 run2 end of testfile test11 36Gepeto /Tag/ asd test11file 36G Makefile to run