view src/testdir/test81.in @ 7498:3fcd3d235f7b v7.4.1051

commit https://github.com/vim/vim/commit/af8af8bfac5792fa64efbc524032d568cc7754f7 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jan 4 22:05:24 2016 +0100 patch 7.4.1051 Problem: Segfault when unletting "count". Solution: Check for readonly and locked first. (Dominique Pelle) Add a test.
author Christian Brabandt <cb@256bit.org>
date Mon, 04 Jan 2016 22:15:06 +0100
parents 7fe2c092913e
children
line wrap: on
line source

Test for t movement command and 'cpo-;' setting

STARTTEST
:set nocompatible viminfo+=nviminfo
:set cpo-=;
/firstline/
j0tt;D
0fz;D
$Fy;D
$Ty;D:set cpo+=;
j0tt;;D
$Ty;;D:?firstline?+1,$w! test.out
:qa!
ENDTEST

firstline
aaa two three four
    zzz
yyy   
bbb yee yoo four
ccc two three four
ddd yee yoo four