├── tests ├── t2750-iu-error.msgok ├── t1750-gujp-error.msgok ├── t3285-gSp-empty-buffer.ok ├── t3286-gSP-empty-buffer.ok ├── t3283-gSp-single-line.ok ├── t3284-gSP-single-line.ok ├── t3393-gDP-on-last-indent-extending.msgok ├── t3641-gGtp-blockwise-extending.msgok ├── t3672-gGtP-blockwise-extending.msgok ├── t6591-g=p-invalid-expression.msgok ├── t1200-gbp-named.ok ├── t1201-gbP-named.ok ├── t1430-gQp-single.ok ├── t1830-gpp-no-number.ok ├── t2030-ic-expression.ok ├── t3150-gHashp-error.ok ├── t3502-gBp-unjoin.ok ├── t5150-gUp-single-char.ok ├── t6730-gbslash-aborted.ok ├── t1001-gcp-named.ok ├── t1003-gcP-named.ok ├── t1010-gcp-block.ok ├── t1011-gcp-indent.ok ├── t1050-gcgp-default.ok ├── t1100-glp-named.ok ├── t1101-glP-named.ok ├── t1330-gcommap-single.ok ├── t1331-gcommaP-single.ok ├── t1480-gQgp-single.ok ├── t1630-gUJp-no-separator.ok ├── t1730-gujp-no-separator.ok ├── t2001-ic-named.ok ├── t2050-icc.ok ├── t2330-icomma-single.ok ├── t3200-gsp-default.ok ├── t3300-gQBp-default.ok ├── t3302-gQBp-unjoin.ok ├── t3500-gBp-default.ok ├── t3501-gBp-named.ok ├── t3510-gBp-block.ok ├── t3673-gGtP-blockwise-empty.ok ├── t5120-gup-block.ok ├── t5160-gUp-non-alphabetical.ok ├── t6190-grp-empty-pattern.ok ├── t6390-gr!p-empty-pattern.ok ├── t6590-g=p-empty-expression.ok ├── t1000-gcp-default.ok ├── t1002-gcP-default.ok ├── t1012-gcp-trailing.ok ├── t1013-gcp-whitespace.ok ├── t1014-gcp-empty-lines.ok ├── t1070-gCp-default.ok ├── t1100-glp-default.ok ├── t1352-gcommaquotep-single.ok ├── t1361-gcommaap-single.ok ├── t1362-gcommaaP-single.ok ├── t1363-gcommanp-single.ok ├── t1365-gcommaop.ok ├── t1400-gQp-whitespace.ok ├── t1410-gQp-custom.ok ├── t1555-gqp-prefix.ok ├── t1556-gqp-suffix.ok ├── t1558-gqp-newline.ok ├── t2000-ic-default.ok ├── t2010-ic-block.ok ├── t2011-ic-indent.ok ├── t2012-ic-trailing.ok ├── t2013-ic-whitespace.ok ├── t3201-gsp-lines.ok ├── t3251-gsp-characterwise-borders-single-char.ok ├── t3301-gQBp-named.ok ├── t3400-gqbp-default.ok ├── t3552-gBp-characterwise-borders.ok ├── t3560-gBp-linewise-borders.ok ├── t3561-gBp-linewise-borders.ok ├── t5100-gup-default.ok ├── t5170-itilde-default.ok ├── t5172-itilde-non-alphabetical.ok ├── t6010-gRp-custom.ok ├── t6591-g=p-invalid-expression.ok ├── t9000-expression-register.ok ├── t1061-gcgp-indent.ok ├── t1062-gcgp-trailing.ok ├── t1080-gcip-default.ok ├── t1086-gcip-block.ok ├── t1210-gbp-uneven.ok ├── t1220-gbp-count.ok ├── t1300-gcommap-whitespace.ok ├── t1335-gcommap-single-count.ok ├── t1364-gcommanP-single.ok ├── t1500-gqp-whitespace.ok ├── t1552-gqp-prefix-suffix-single.ok ├── t1811-gpp-block.ok ├── t2100-ii-default.ok ├── t2101-ii-named.ok ├── t2110-ii-block.ok ├── t2400-iqq-whitespace.ok ├── t2500-iq-whitespace.ok ├── t3000-g]p-named.ok ├── t3001-g]P-named.ok ├── t3100-gHashp-default.ok ├── t3210-gsp-block.ok ├── t3230-gsp-line-count.ok ├── t3252-gsp-characterwise-borders.ok ├── t3260-gsp-linewise-borders.ok ├── t3261-gsp-linewise-borders.ok ├── t3310-gQBp-block.ok ├── t3352-gQBp-characterwise-borders.ok ├── t3360-gQBp-linewise-borders.ok ├── t3361-gQBp-linewise-borders.ok ├── t3402-gqbp-unjoin.ok ├── t3590-gBP-on-last-indent.ok ├── t3595-gBp-at-end-of-line.ok ├── t3610-gGtp-single-line.ok ├── t5000-g]]p-named.ok ├── t5001-g]]P-named.ok ├── t5005-g[[p-named.ok ├── t5006-g[[P-named.ok ├── t6210-gR!p-custom.ok ├── t6740-gbslash-choice.msgok ├── t9010-colon-register.ok ├── t9020-percent-register.ok ├── t9030-dot-register.ok ├── t1022-gcp-single-count.ok ├── t1081-gcip-indent.ok ├── t1082-gcip-trailing.ok ├── t1366-gcommanp.ok ├── t1367-gcommaap-single-count.ok ├── t1369-gcommaap-no-serial.ok ├── t1550-gqp-prefix-suffix.ok ├── t1560-gqp-linefeed.ok ├── t1800-gpp-behind.ok ├── t1803-gpp-first.ok ├── t1850-gpP-behind.ok ├── t1900-gPp-line.ok ├── t2040-ic-repeat.ok ├── t2111-ii-indent.ok ├── t2112-ii-trailing.ok ├── t2300-icomma-whitespace.ok ├── t2550-iq-prefix-suffix.ok ├── t3206-gsp-emptySeparator.ok ├── t3231-gsp-line-incl-space.ok ├── t3390-gQBP-on-last-indent.ok ├── t3391-gQBP-on-last-indent.ok ├── t3395-gQBp-at-end-of-line.ok ├── t3396-gQBp-at-end-of-line.ok ├── t3402-gqbp-repeat.ok ├── t3440-gqbp-repeat.ok ├── t3630-gGtp-characterwise-word.ok ├── t3670-gGtP-blockwise.ok ├── t5171-itilde-lines.ok ├── t6100-grp-lines.ok ├── t6120-grp-unjoin.ok ├── t1063-gcgp-whitespace.ok ├── t1064-gcgp-empty-lines.ok ├── t1083-gcip-whitespace.ok ├── t1450-gQgp-whitespace.ok ├── t1460-gQgp-custom.ok ├── t1501-gqp-recall.ok ├── t1502-gqp-repeat.ok ├── t1540-gqp-repeat.ok ├── t1601-gUJp-ws-around.ok ├── t1804-gpp-last.ok ├── t2113-ii-whitespace.ok ├── t2601-iuu-ws-around.ok ├── t2700-iu-queried.ok ├── t3120-gHashp-indented.ok ├── t3203-gSp-characterwise.ok ├── t3221-gsp-characterwise-incl-space.ok ├── t3290-gsp-repeat-count.ok ├── t3531-gBp-different-width-linewise.ok ├── t3631-gGtp-characterwise-lines.ok ├── t3640-gGtp-blockwise.ok ├── t3641-gGtp-blockwise.ok ├── t3660-gGtP-characterwise-word.ok ├── t6230-gR!p-characterwise.ok ├── t6330-gr!p-characterwise.ok ├── t7075-ihh-gt-characterwise-word.ok ├── t1040-gcp-repeat.ok ├── t1085-gcip-single-count.ok ├── t1120-glp-count.ok ├── t1368-gcommanp-single-count.ok ├── t1559-gqp-escaped-newline.ok ├── t1580-gqp-five-part.ok ├── t1590-gqgp-whitespace.ok ├── t1700-gujp-queried.ok ├── t1801-gpp-on-last-digit.ok ├── t1802-gpp-behind-last-digit.ok ├── t1835-gpp-leading-zeros.ok ├── t1935-gPp-leading-zeros.ok ├── t2450-iqqgg-whitespace.ok ├── t2501-iq-recall.ok ├── t2540-iq-repeat.ok ├── t2550-iqg-whitespace.ok ├── t2600-iuu-whitespace.ok ├── t32090-gsp-emptyBeforeAfterSeparator.ok ├── t32091-gsp-emptyBeforeAfterSeparator.ok ├── t32095-gsp-emptyBeforeAfterSeparator.ok ├── t32096-gsp-emptyBeforeAfterSeparator.ok ├── t3240-gsp-block-count.ok ├── t3409-gqbp-escaped-newline.ok ├── t3530-gBp-different-width-characterwise.ok ├── t3532-gBp-different-width-blockwise.ok ├── t3632-gGtp-characterwise-word-count.ok ├── t3650-gGtp-softtabstop.ok ├── t3661-gGtP-characterwise-lines.ok ├── t3671-gGtP-blockwise-longer.ok ├── t5015-g[[p-count.ok ├── t5016-g[[P-count.ok ├── t5110-gup-lines.ok ├── t6020-gRp-unjoin.ok ├── t6795-ibslash-choices.ok ├── t1021-gcp-named-count.ok ├── t1351-gcommaquotep-whitespace.ok ├── t1353-gcommaquotep-whitespace.ok ├── t1709-gujp-escaped-newline.ok ├── t3101-ghashp-named.ok ├── t3220-gsp-characterwise-count.ok ├── t3331-gQBp-different-width-linewise.ok ├── t3332-gQBp-different-width-blockwise.ok ├── t3521-gBp-line-count.ok ├── t3522-gBp-block-count.ok ├── t3643-gGtp-blockwise-count.ok ├── t3644-gGtp-blockwise-count.ok ├── t3662-gGtP-characterwise-word-count.ok ├── t3674-gGtP-blockwise-count.ok ├── t3681-gGtP-softtabstop.ok ├── t5025-g[[p-blockwise.ok ├── t6000-gRp-lines.ok ├── t6030-gRp-characterwise.ok ├── t6130-grp-characterwise.ok ├── t6200-gR!p-lines.ok ├── t6320-gr!p-words.ok ├── t6710-gbslash-none.ok ├── t1020-gcp-default-count.ok ├── t1320-gcommap-count.ok ├── t1360-gcommaap.ok ├── t1570-gqp-prefix-suffix-recall.ok ├── t1805-gpp-second-line.ok ├── t3020-g]p-count.ok ├── t3140-gHashp-commentstring.ok ├── t3202-gSp-named.ok ├── t3222-gsp-characterwise-incl-space.ok ├── t3262-gSp-linewise-borders.ok ├── t3330-gQBp-different-width-characterwise.ok ├── t3550-gBp-characterwise-borders.ok ├── t3635-gGtp-characterwise-repeat-count.ok ├── t3651-gGtp-softtabstop.ok ├── t3655-gGtp-expandtab.ok ├── t5020-g]]p-blockwise.ok ├── t6300-gr!p-lines.ok ├── t6520-g=p-unjoin.ok ├── t6700-gbslash-default.ok ├── t1071-gCp-named-count-blockwise.ok ├── t1411-gQp-customlist.ok ├── t1591-gqp-recall-gQgp.ok ├── t1592-gqgp-recall-gQp.ok ├── t1600-gUJp-whitespace.ok ├── t2140-ii-repeat.ok ├── t3204-gSp-emptyPattern.ok ├── t3250-gsp-characterwise-borders.ok ├── t3350-gQBp-characterwise-borders.ok ├── t3401-gqbp-recall.ok ├── t3593-gBP-on-last-indent-extending.ok ├── t3672-gGtP-blockwise-extending.ok ├── t5010-g]]p-count.ok ├── t5011-g]]P-count.ok ├── t6450-g==p-count.ok ├── t6610-gbslashbslashp-local.ok ├── t7070-ihh-gt-lines.ok ├── t1042-gcp-count-repeat.ok ├── t1084-gcip-empty-lines.ok ├── t1812-gpp-block-with-count.ok ├── t2620-iuu-autoindent.ok ├── t3322-gQBp-block-count.ok ├── t3392-gQBp-on-last-indent.ok ├── t3393-gQBP-on-last-indent-extending.ok ├── t3397-gQBP-at-end-of-line.ok ├── t3442-gqbp-unjoin-repeat.ok ├── t3520-gBp-characterwise-count.ok ├── t3680-gGtP-softtabstop.ok ├── t3690-gGtP-full-retab-softtabstop.ok ├── t6101-grp-recall.ok ├── t6220-gR!p-words.ok ├── t6420-g==p-unjoin-separators.ok ├── t6425-g==p-unjoin-matches.ok ├── t6720-gbslash-entered.ok ├── t7012-ihh-default-line.ok ├── t7050-ihh-n-lines.ok ├── t3205-gSp-whitespaceLine.ok ├── t32080-gSp-emptyAboveBelowPattern.ok ├── t32081-gSp-emptyAboveBelowPattern.ok ├── t32085-gSp-emptyAboveBelowPattern.ok ├── t32086-gSp-emptyAboveBelowPattern.ok ├── t3263-gSp-linewise-borders.ok ├── t3321-gQBp-line-count.ok ├── t3600-gGtp-named-lines.ok ├── t3601-gGtP-named-lines.ok ├── t3620-gGtp-count.ok ├── t3642-gGtp-blockwise-extending.ok ├── t3685-gGtP-expandtab.ok ├── t6050-gRp-count.ok ├── t6102-grp-repeat.ok ├── t6460-g==p-filter.ok ├── t6620-gbslashbslashp-local-Funcref.ok ├── t6621-gbslashbslashp-local-both.ok ├── t1365-gcommaop.vim ├── t1366-gcommanp.vim ├── t1461-gQgp-customlist.ok ├── t1593-gqgp-recall-gQgp.ok ├── t3320-gQBp-characterwise-count.ok ├── t3656-gGtp-expandtab.ok ├── t6301-gr!p-recall.ok ├── t6400-g==p-lines.ok ├── t6622-gbslashbslashp-local-expression.ok ├── t7000-gHp-default-characterwise-lines.ok ├── t7060-ihh-m-lines.ok ├── t7100-gHp-repeat.ok ├── t1350-gcommaquotep-count.ok ├── t1370-gcommaap-pair-no-serial.ok ├── t1602-gUJp-multi-around.ok ├── t1806-gpp-third-line.ok ├── t1810-gpp-characterwise.ok ├── t1870-gpP-count.ok ├── t1920-gPp-characterwise.ok ├── t1930-gPP-count.ok ├── t2602-iuu-multi-around.ok ├── t2740-iu-repeat.ok ├── t3223-gSp-characterwise-count.ok ├── t3354-gQBp-characterwise-unjoin-borders.ok ├── t1041-gcp-repeat-count.ok ├── t1820-gpp-count.ok ├── t3403-gqbp-unjoin-recall.ok ├── t3645-gGtp-blockwise-repeat-count.ok ├── t3695-gGtP-full-retab-expandtab.ok ├── t7000-gHp-default-lines.ok ├── t7020-gHp-default-lines.ok ├── t1740-gujp-repeat.ok ├── t1807-gpp-multi-line.ok ├── t1910-gPp-multi-line.ok ├── t3242-gSp-block-count.ok ├── t9020-percent-register.vim ├── t1367-gcommaap-single-count.vim ├── t1581-gqp-five-part.ok ├── t6302-gr!p-repeat.ok ├── t6750-gbslash-choice-recall.ok ├── t7010-ihh-default-characterwise-lines.ok ├── t1701-gujp-recall.ok ├── t1702-gujp-repeat.ok ├── t2701-iu-recall.ok ├── t3232-gSp-line-count.ok ├── t5150-gUp-single-char.vim ├── t3598-gBp-at-end-of-line-count.ok ├── t3686-gGtP-expandtab.ok ├── t6600-gbslashbslashp-lines.ok ├── t6690-ibslashbslash-lines.ok ├── t7030-ihh-default-lines.ok ├── t9000-expression-register.vim ├── t9030-dot-register.vim ├── t1100-glp-named.vim ├── t1101-glP-named.vim ├── t3130-gHashp-count.ok ├── t3241-gsp-block-incl-space.ok ├── t5031-g[[p-softtabstop.ok ├── t6410-g==p-custom.ok ├── t6430-g==p-characterwise.ok ├── t6485-g==p-ex.ok ├── t6500-g=p-lines.ok ├── t6630-gbslashbslashp-count.ok ├── t1890-gpP-repeat.ok ├── t1900-gPp-line.vim ├── t3110-gHashp-whitespace.ok ├── t3200-gsp-default.vim ├── t3233-gSp-line-incl-space.ok ├── t6480-g==p-function.ok ├── t6490-g==p-external.ok ├── t6790-ibslash-entered.ok ├── t1200-gbp-named.vim ├── t1201-gbP-named.vim ├── t1582-gqp-element-suffix.ok ├── t1840-gpp-repeat.ok ├── t1940-gPp-repeat.ok ├── t3203-gSp-characterwise.vim ├── t3398-gQBp-at-end-of-line-count.ok ├── t5030-g]]p-softtabstop.ok ├── t5100-gup-default.vim ├── t1000-gcp-default.vim ├── t1001-gcp-named.vim ├── t1002-gcP-default.vim ├── t1003-gcP-named.vim ├── t1842-gpp-count-repeat.ok ├── t2020-ic-autoformat.ok ├── t3201-gsp-lines.vim ├── t3202-gSp-named.vim ├── t3210-gsp-block.vim ├── t3310-gQBp-block.vim ├── t3501-gBp-named.vim ├── t3510-gBp-block.vim ├── t5120-gup-block.vim ├── t1010-gcp-block.vim ├── t1050-gcgp-default.vim ├── t1080-gcip-default.vim ├── t1086-gcip-block.vim ├── t1210-gbp-uneven.vim ├── t3301-gQBp-named.vim ├── t3500-gBp-default.vim ├── t5035-g[[p-expandtab.ok ├── t1011-gcp-indent.vim ├── t1362-gcommaaP-single.vim ├── t3300-gQBp-default.vim ├── t5160-gUp-non-alphabetical.vim ├── t5170-itilde-default.vim ├── t5171-itilde-lines.vim ├── t6590-g=p-empty-expression.vim ├── t1061-gcgp-indent.vim ├── t1081-gcip-indent.vim ├── t1361-gcommaap-single.vim ├── t1800-gpp-behind.vim ├── t1803-gpp-first.vim ├── t1850-gpP-behind.vim ├── t6000-gRp-lines.vim ├── t6740-gbslash-choice.ok ├── t3260-gsp-linewise-borders.vim ├── t3270-gsp-characterwise-spaces.ok ├── t3370-gQBp-characterwise-separator.ok ├── t6200-gR!p-lines.vim ├── t6760-gbslash-count-choice.ok ├── t1012-gcp-trailing.vim ├── t1600-gUJp-whitespace.vim ├── t1801-gpp-on-last-digit.vim ├── t1805-gpp-second-line.vim ├── t3150-gHashp-error.vim ├── t3261-gsp-linewise-borders.vim ├── t3262-gSp-linewise-borders.vim ├── t3283-gSp-single-line.vim ├── t3284-gSP-single-line.vim ├── t3400-gqbp-default.vim ├── t6501-g=p-recall.ok ├── t6700-gbslash-default.vim ├── t1062-gcgp-trailing.vim ├── t1082-gcip-trailing.vim ├── t1360-gcommaap.vim ├── t1369-gcommaap-no-serial.vim ├── t1601-gUJp-ws-around.vim ├── t1802-gpp-behind-last-digit.vim ├── t3100-gHashp-default.vim ├── t3263-gSp-linewise-borders.vim ├── t3285-gSp-empty-buffer.vim ├── t3286-gSP-empty-buffer.vim ├── t5172-itilde-non-alphabetical.vim ├── t1700-gujp-queried.vim ├── t2001-ic-named.vim ├── t2101-ii-named.vim ├── t3000-g]p-named.vim ├── t3001-g]P-named.vim ├── t3402-gqbp-unjoin.vim ├── t3561-gBp-linewise-borders.vim ├── t6100-grp-lines.vim ├── t1351-gcommaquotep-whitespace.vim ├── t1353-gcommaquotep-whitespace.vim ├── t1804-gpp-last.vim ├── t1806-gpp-third-line.vim ├── t2000-ic-default.vim ├── t2010-ic-block.vim ├── t2100-ii-default.vim ├── t2110-ii-block.vim ├── t2750-iu-error.vim ├── t3101-gHashp-named.vim ├── t3531-gBp-different-width-linewise.vim ├── t3560-gBp-linewise-borders.vim ├── t5000-g]]p-named.vim ├── t5001-g]]P-named.vim ├── t5005-g[[p-named.vim ├── t5006-g[[P-named.vim ├── t5035-g]]p-expandtab.ok ├── t6300-gr!p-lines.vim ├── t1070-gCp-default.vim ├── t1830-gpp-no-number.vim ├── t1910-gPp-multi-line.vim ├── t2011-ic-indent.vim ├── t2111-ii-indent.vim ├── t3140-gHashp-commentstring.vim ├── t3285-gSp-within-fold.ok ├── t3331-gQBp-different-width-linewise.vim ├── t3360-gQBp-linewise-borders.vim ├── t3532-gBp-different-width-blockwise.vim ├── t1013-gcp-whitespace.vim ├── t1014-gcp-empty-lines.vim ├── t1064-gcgp-empty-lines.vim ├── t1084-gcip-empty-lines.vim ├── t1331-gcommaP-single.vim ├── t1400-gQp-whitespace.vim ├── t1430-gQp-single.vim ├── t1480-gQgp-single.vim ├── t3332-gQBp-different-width-blockwise.vim ├── t3380-gQBp-characterwise-separator-count.ok ├── t3530-gBp-different-width-characterwise.vim ├── t3625-gGtp-repeat-count.ok ├── t6190-grp-empty-pattern.vim ├── t1063-gcgp-whitespace.vim ├── t1083-gcip-whitespace.vim ├── t1300-gcommap-whitespace.vim ├── t1330-gcommap-single.vim ├── t1450-gQgp-whitespace.vim ├── t1555-gqp-prefix.vim ├── t1556-gqp-suffix.vim ├── t1841-gpp-repeat-count.ok ├── t3330-gQBp-different-width-characterwise.vim ├── t3361-gQBp-linewise-borders.vim ├── t3440-gqbp-repeat.vim ├── t3595-gBp-at-end-of-line.vim ├── t3610-gGtp-single-line.vim ├── t3630-gGtp-characterwise-word.vim ├── t6010-gRp-custom.vim ├── t6390-gr!p-empty-pattern.vim ├── t6400-g==p-lines.vim ├── t1040-gcp-repeat.vim ├── t1364-gcommanP-single.vim ├── t1540-gqp-repeat.vim ├── t1702-gujp-repeat.vim ├── t1807-gpp-multi-line.vim ├── t2040-ic-repeat.vim ├── t2140-ii-repeat.vim ├── t2700-iu-queried.vim ├── t3395-gQBp-at-end-of-line.vim ├── t3552-gBp-characterwise-borders.vim ├── t3600-gGtp-named-lines.vim ├── t3601-gGtP-named-lines.vim ├── t3655-gGtp-expandtab.vim ├── t6130-grp-characterwise.vim ├── t1363-gcommanp-single.vim ├── t1630-gUJp-no-separator.vim ├── t2012-ic-trailing.vim ├── t2112-ii-trailing.vim ├── t3390-gQBP-on-last-indent.vim ├── t3402-gqbp-repeat.vim ├── t3590-gBP-on-last-indent.vim ├── t3640-gGtp-blockwise.vim ├── t3670-gGtP-blockwise.vim ├── t6210-gR!p-custom.vim ├── t6330-gr!p-characterwise.vim ├── t1500-gqp-whitespace.vim ├── t1502-gqp-repeat.vim ├── t1552-gqp-prefix-suffix-single.vim ├── t2600-iuu-whitespace.vim ├── t3442-gqbp-unjoin-repeat.vim ├── t3650-gGtp-softtabstop.vim ├── t3660-gGtP-characterwise-word.vim ├── t6600-gbslashbslashp-lines.vim ├── t1550-gqp-prefix-suffix.vim ├── t1590-gqgp-whitespace.vim ├── t1840-gpp-repeat.vim ├── t1890-gpP-repeat.vim ├── t1940-gPp-repeat.vim ├── t2740-iu-repeat.vim ├── t3302-gQBp-unjoin.vim ├── t6320-gr!p-words.vim ├── t1368-gcommanp-single-count.vim ├── t1558-gqp-newline.vim ├── t2300-icomma-whitespace.vim ├── t3641-gGtp-blockwise.vim ├── t3685-gGtP-expandtab.vim ├── t4330-ccomma-single.vim ├── t6102-grp-repeat.vim ├── t6302-gr!p-repeat.vim ├── t6502-g=p-repeat.ok ├── t1560-gqp-linefeed.vim ├── t1740-gujp-repeat.vim ├── t2013-ic-whitespace.vim ├── t2030-ic-expression.vim ├── t2050-icc.vim ├── t2113-ii-whitespace.vim ├── t2540-iq-repeat.vim ├── t2601-iuu-ws-around.vim ├── t3252-gsp-characterwise-borders.vim ├── t3671-gGtP-blockwise-longer.vim ├── t6120-grp-unjoin.vim ├── t3250-gsp-characterwise-borders.vim ├── t3642-gGtp-blockwise-extending.vim ├── t3672-gGtP-blockwise-extending.vim ├── t6500-g=p-lines.vim ├── t7020-gHp-default-lines.vim ├── t7040-ihh-3U-commaQuote-s.ok ├── t1730-gujp-no-separator.vim ├── t1811-gpp-block.vim ├── t2500-iq-whitespace.vim ├── t3030-g]P-variations.ok ├── t3204-gSp-emptyPattern.vim ├── t3205-gSp-whitespaceLine.vim ├── t3282-gSp-linewise-empty-lines.ok ├── t3680-gGtP-softtabstop.vim ├── t6470-g==p-adding.ok ├── t6520-g=p-unjoin.vim ├── t6710-gbslash-none.vim ├── t1602-gUJp-multi-around.vim ├── t1750-gujp-error.vim ├── t2400-iqq-whitespace.vim ├── t2550-iq-prefix-suffix.vim ├── t5020-g]]p-blockwise.vim ├── t5025-g[[p-blockwise.vim ├── t6030-gRp-characterwise.vim ├── t6472-g==p-adding-multiline.ok ├── t6591-g=p-invalid-expression.vim ├── t1352-gcommaquotep-single.vim ├── t3110-gHashp-whitespace.vim ├── t3352-gQBp-characterwise-borders.vim ├── t1582-gqp-element-suffix.vim ├── t2550-iqg-whitespace.vim ├── t3550-gBp-characterwise-borders.vim ├── t3631-gGtp-characterwise-lines.vim ├── t6460-g==p-filter.vim ├── t6485-g==p-ex.vim ├── t1701-gujp-recall.vim ├── t2620-iuu-autoindent.vim ├── t3206-gsp-emptySeparator.vim ├── t3350-gQBp-characterwise-borders.vim ├── t3401-gqbp-recall.vim ├── t3593-gBP-on-last-indent-extending.vim ├── t4000-cc-default.vim ├── t5035-g[[p-expandtab.vim ├── t5035-g]]p-expandtab.vim ├── t6020-gRp-unjoin.vim ├── t6220-gR!p-words.vim ├── t6230-gR!p-characterwise.vim ├── t6690-ibslashbslash-lines.vim ├── t1370-gcommaap-pair-no-serial.vim ├── t3120-gHashp-indented.vim ├── t3393-gQBP-on-last-indent-extending.vim ├── t4030-cc-expression.vim ├── t5030-g]]p-softtabstop.vim ├── t5031-g[[p-softtabstop.vim ├── t6050-gRp-count.vim ├── t6472-g==p-adding-multiline.vim ├── t6480-g==p-function.vim ├── t6630-gbslashbslashp-count.vim ├── t1120-glp-count.vim ├── t1501-gqp-recall.vim ├── t1820-gpp-count.vim ├── t1870-gpP-count.vim ├── t1930-gPP-count.vim ├── t3354-gQBp-characterwise-unjoin-borders.vim ├── t3396-gQBp-at-end-of-line.vim ├── t6410-g==p-custom.vim ├── t2450-iqqgg-whitespace.vim ├── t32080-gSp-emptyAboveBelowPattern.vim ├── t32081-gSp-emptyAboveBelowPattern.vim └── t32085-gSp-emptyAboveBelowPattern.vim ├── .gitignore └── UnconditionalPaste.manifest /tests/t2750-iu-error.msgok: -------------------------------------------------------------------------------- 1 | E54: Unmatched \( 2 | -------------------------------------------------------------------------------- /tests/t1750-gujp-error.msgok: -------------------------------------------------------------------------------- 1 | E54: Unmatched \( 2 | -------------------------------------------------------------------------------- /tests/t3285-gSp-empty-buffer.ok: -------------------------------------------------------------------------------- 1 | 2 | foo 3 | 4 | -------------------------------------------------------------------------------- /tests/t3286-gSP-empty-buffer.ok: -------------------------------------------------------------------------------- 1 | 2 | foo 3 | 4 | -------------------------------------------------------------------------------- /tests/t3283-gSp-single-line.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 3 | foo 4 | -------------------------------------------------------------------------------- /tests/t3284-gSP-single-line.ok: -------------------------------------------------------------------------------- 1 | foo 2 | 3 | 1 padding text 4 | -------------------------------------------------------------------------------- /tests/t3393-gDP-on-last-indent-extending.msgok: -------------------------------------------------------------------------------- 1 | 2 more lines 2 | -------------------------------------------------------------------------------- /tests/t3641-gGtp-blockwise-extending.msgok: -------------------------------------------------------------------------------- 1 | 2 more lines 2 | -------------------------------------------------------------------------------- /tests/t3672-gGtP-blockwise-extending.msgok: -------------------------------------------------------------------------------- 1 | 2 more lines 2 | -------------------------------------------------------------------------------- /tests/t6591-g=p-invalid-expression.msgok: -------------------------------------------------------------------------------- 1 | /E15: Invalid expression:.*/ 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.msgout 2 | *.msgresult 3 | *.out 4 | *.tap 5 | doc/*.description 6 | doc/*.install 7 | tags 8 | -------------------------------------------------------------------------------- /tests/t1200-gbp-named.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|FOO) here 4 | 4 padBARding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1201-gbP-named.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (FOO|) here 4 | 4 paBARdding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1430-gQp-single.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (| foo) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1830-gpp-no-number.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t2030-ic-expression.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|<>) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t3150-gHashp-error.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t3502-gBp-unjoin.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|fo) here 4 | 4 padoding text 5 | 5 padbarding text 6 | -------------------------------------------------------------------------------- /tests/t5150-gUp-single-char.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|X) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t6730-gbslash-aborted.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1001-gcp-named.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|foo bar b z) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1003-gcP-named.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (foo bar b z|) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1010-gcp-block.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|FOO B Z QUUX) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1011-gcp-indent.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|foo bar b z) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1050-gcgp-default.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|foobarb z) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1100-glp-named.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | foo bar 5 | 4 padding text 6 | 5 padding text 7 | -------------------------------------------------------------------------------- /tests/t1101-glP-named.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | foo bar 4 | we (|) here 5 | 4 padding text 6 | 5 padding text 7 | -------------------------------------------------------------------------------- /tests/t1330-gcommap-single.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|, foo) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1331-gcommaP-single.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (foo, |) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1480-gQgp-single.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (| foo ) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1630-gUJp-no-separator.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1730-gujp-no-separator.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t2001-ic-named.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t2050-icc.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t2330-icomma-single.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t3200-gsp-default.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (| foobar ) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t3300-gQBp-default.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (| foobar ) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t3302-gQBp-unjoin.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (| foo ) here 4 | 4 pad bar ding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t3500-gBp-default.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|foobar) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t3501-gBp-named.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|foo) here 4 | 4 padbarding text 5 | 5 padb zding text 6 | -------------------------------------------------------------------------------- /tests/t3510-gBp-block.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|FOO ) here 4 | 4 padB Zding text 5 | 5 padQUUXding text 6 | -------------------------------------------------------------------------------- /tests/t3673-gGtP-blockwise-empty.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | FOO we (|) here 4 | X 5 | MOAR 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t5120-gup-block.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|--- ) here 4 | 4 padb Zding text 5 | 5 padQUUXding text 6 | -------------------------------------------------------------------------------- /tests/t5160-gUp-non-alphabetical.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t6190-grp-empty-pattern.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t6390-gr!p-empty-pattern.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t6590-g=p-empty-expression.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1000-gcp-default.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|foo bar b z) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1002-gcP-default.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (foo bar b z|) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1012-gcp-trailing.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|foo bar b z) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1013-gcp-whitespace.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|foo bar b z) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1014-gcp-empty-lines.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|foo bar b z) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1070-gCp-default.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|f o o b a r b z) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1100-glp-default.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | foo bar 5 | 4 padding text 6 | 5 padding text 7 | -------------------------------------------------------------------------------- /tests/t1352-gcommaquotep-single.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|, "foo") here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1361-gcommaap-single.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|, and me) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1362-gcommaaP-single.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (me, and |) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1363-gcommanp-single.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|, nor me) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1365-gcommaop.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|foo, bar, or quux) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1400-gQp-whitespace.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|foo bar b z) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1410-gQp-custom.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|foo&&bar&&b z) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1555-gqp-prefix.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|[[foo, bar, b z) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1556-gqp-suffix.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|foo, bar, b z]]) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1558-gqp-newline.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|foo] [bar] [b z) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t2000-ic-default.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t2010-ic-block.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t2011-ic-indent.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t2012-ic-trailing.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t2013-ic-whitespace.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t3201-gsp-lines.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (| foo bar b z ) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t3251-gsp-characterwise-borders-single-char.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | FOO X 4 | Y FOO 5 | X FOO 6 | FOO Y 7 | -------------------------------------------------------------------------------- /tests/t3301-gQBp-named.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (| foo ) here 4 | 4 pad bar ding text 5 | 5 pad b z ding text 6 | -------------------------------------------------------------------------------- /tests/t3400-gqbp-default.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|+-+foobar+-+) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t3552-gBp-characterwise-borders.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | FOO 4 | FOO 5 | 4 padding text 6 | 5 padding text 7 | -------------------------------------------------------------------------------- /tests/t3560-gBp-linewise-borders.ok: -------------------------------------------------------------------------------- 1 | 1 FOOpadding text 2 | 2 padding text 3 | we (|) here 4 | 4 padding text 5 | 5 pFOOadding text 6 | -------------------------------------------------------------------------------- /tests/t3561-gBp-linewise-borders.ok: -------------------------------------------------------------------------------- 1 | 1 pFOOadding text 2 | 2 padding text 3 | we (|) here 4 | 4 padding text 5 | 5 FOOpadding text 6 | -------------------------------------------------------------------------------- /tests/t5100-gup-default.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|this Is Foo) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t5170-itilde-default.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t5172-itilde-non-alphabetical.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t6010-gRp-custom.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | bar 5 | baz 6 | 4 padding text 7 | 5 padding text 8 | -------------------------------------------------------------------------------- /tests/t6591-g=p-invalid-expression.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t9000-expression-register.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | 42 5 | 4 padding text 6 | 5 padding text 7 | -------------------------------------------------------------------------------- /tests/t1061-gcgp-indent.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (| foo bar b z) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1062-gcgp-trailing.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|foo bar b z ) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1080-gcip-default.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|foo 4 | bar 5 | b z) here 6 | 4 padding text 7 | 5 padding text 8 | -------------------------------------------------------------------------------- /tests/t1086-gcip-block.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|FOO 4 | B Z 5 | QUUX) here 6 | 4 padding text 7 | 5 padding text 8 | -------------------------------------------------------------------------------- /tests/t1210-gbp-uneven.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|FOO ) here 4 | 4 padBAAAARding text 5 | 5 padBZ ding text 6 | -------------------------------------------------------------------------------- /tests/t1220-gbp-count.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|FOOFOOFOO) here 4 | 4 padBARBARBARding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1300-gcommap-whitespace.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|foo, bar, b z) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1335-gcommap-single-count.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|, foo, foo) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1364-gcommanP-single.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (neither me, nor |) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1500-gqp-whitespace.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|foo+-+bar+-+b z) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1552-gqp-prefix-suffix-single.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|, [foo]) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1811-gpp-block.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|43 of ) here 4 | 4 pad91 haveding text 5 | 5 pad$112. ding text 6 | -------------------------------------------------------------------------------- /tests/t2100-ii-default.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 6 | 4 padding text 7 | 5 padding text 8 | -------------------------------------------------------------------------------- /tests/t2101-ii-named.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 6 | 4 padding text 7 | 5 padding text 8 | -------------------------------------------------------------------------------- /tests/t2110-ii-block.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 6 | 4 padding text 7 | 5 padding text 8 | -------------------------------------------------------------------------------- /tests/t2400-iqq-whitespace.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t2500-iq-whitespace.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t3000-g]p-named.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | foo bar 5 | 4 padding text 6 | 5 padding text 7 | -------------------------------------------------------------------------------- /tests/t3001-g]P-named.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | foo bar 4 | we (|) here 5 | 4 padding text 6 | 5 padding text 7 | -------------------------------------------------------------------------------- /tests/t3100-gHashp-default.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | /* foo */ 5 | 4 padding text 6 | 5 padding text 7 | -------------------------------------------------------------------------------- /tests/t3210-gsp-block.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (| FOO ) here 4 | 4 pad B Z ding text 5 | 5 pad QUUX ding text 6 | -------------------------------------------------------------------------------- /tests/t3230-gsp-line-count.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (| foo bar b z ) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t3252-gsp-characterwise-borders.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | FOO 4 | FOO 5 | 4 padding text 6 | 5 padding text 7 | -------------------------------------------------------------------------------- /tests/t3260-gsp-linewise-borders.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | FOO 2 padding text 3 | we (|) here 4 | 4 padding text FOO 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t3261-gsp-linewise-borders.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 FOO padding text 3 | we (|) here 4 | 4 padding tex FOO t 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t3310-gQBp-block.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (| FOO ) here 4 | 4 pad B Z ding text 5 | 5 pad QUUX ding text 6 | -------------------------------------------------------------------------------- /tests/t3352-gQBp-characterwise-borders.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | FOO 4 | FOO 5 | 4 padding text 6 | 5 padding text 7 | -------------------------------------------------------------------------------- /tests/t3360-gQBp-linewise-borders.ok: -------------------------------------------------------------------------------- 1 | 1 FOO padding text 2 | 2 padding text 3 | we (|) here 4 | 4 padding text 5 | 5 p FOO adding text 6 | -------------------------------------------------------------------------------- /tests/t3361-gQBp-linewise-borders.ok: -------------------------------------------------------------------------------- 1 | 1 p FOO adding text 2 | 2 padding text 3 | we (|) here 4 | 4 padding text 5 | 5 FOO padding text 6 | -------------------------------------------------------------------------------- /tests/t3402-gqbp-unjoin.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|+-+foo+-+) here 4 | 4 pad+-+bar+-+ding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t3590-gBP-on-last-indent.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | FOOwe (|) here 4 | BAR4 padding text 5 | BAZ5 padding text 6 | -------------------------------------------------------------------------------- /tests/t3595-gBp-at-end-of-line.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) hereFOO 4 | 4 padding textBAR 5 | 5 padding textBAZ 6 | -------------------------------------------------------------------------------- /tests/t3610-gGtp-single-line.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | FOO 5 | 4 padding text 6 | 5 padding text 7 | -------------------------------------------------------------------------------- /tests/t5000-g]]p-named.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | foo bar 5 | 4 padding text 6 | 5 padding text 7 | -------------------------------------------------------------------------------- /tests/t5001-g]]P-named.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | foo bar 4 | we (|) here 5 | 4 padding text 6 | 5 padding text 7 | -------------------------------------------------------------------------------- /tests/t5005-g[[p-named.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | foo bar 5 | 4 padding text 6 | 5 padding text 7 | -------------------------------------------------------------------------------- /tests/t5006-g[[P-named.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | foo bar 4 | we (|) here 5 | 4 padding text 6 | 5 padding text 7 | -------------------------------------------------------------------------------- /tests/t6210-gR!p-custom.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | foo 5 | bulli 6 | 4 padding text 7 | 5 padding text 8 | -------------------------------------------------------------------------------- /tests/t6740-gbslash-choice.msgok: -------------------------------------------------------------------------------- 1 | Select escapes via [count] or (l)etter: 2 | 1: (o) -> X 3 | 2: (q)uotes 4 | 3: (M)yReplacer 5 | -------------------------------------------------------------------------------- /tests/t9010-colon-register.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | call Test() 5 | 4 padding text 6 | 5 padding text 7 | -------------------------------------------------------------------------------- /tests/t9020-percent-register.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | foo.txt 5 | 4 padding text 6 | 5 padding text 7 | -------------------------------------------------------------------------------- /tests/t9030-dot-register.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|[foo]) here 4 | [foo] 5 | 4 padding text 6 | 5 padding text 7 | -------------------------------------------------------------------------------- /tests/t1022-gcp-single-count.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|foobar foobar foobar) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1081-gcip-indent.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|foo 4 | bar 5 | b z) here 6 | 4 padding text 7 | 5 padding text 8 | -------------------------------------------------------------------------------- /tests/t1082-gcip-trailing.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|foo 4 | bar 5 | b z) here 6 | 4 padding text 7 | 5 padding text 8 | -------------------------------------------------------------------------------- /tests/t1366-gcommanp.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|neither foo, bar, nor quux) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1367-gcommaap-single-count.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|me, me, and me) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1369-gcommaap-no-serial.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|foo, bar and quux) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1550-gqp-prefix-suffix.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|[foo, bar, b z]) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1560-gqp-linefeed.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|foo] 4 | [bar] 5 | [b z) here 6 | 4 padding text 7 | 5 padding text 8 | -------------------------------------------------------------------------------- /tests/t1800-gpp-behind.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | 42 of 100 have $111. 5 | 4 padding text 6 | 5 padding text 7 | -------------------------------------------------------------------------------- /tests/t1803-gpp-first.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | |e (.) here 4 | 43 of 99 have $111. 5 | 4 padding text 6 | 5 padding text 7 | -------------------------------------------------------------------------------- /tests/t1850-gpP-behind.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | 42 of 98 have $111. 4 | we (|) here 5 | 4 padding text 6 | 5 padding text 7 | -------------------------------------------------------------------------------- /tests/t1900-gPp-line.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | 43 of 100 have $112. 5 | 4 padding text 6 | 5 padding text 7 | -------------------------------------------------------------------------------- /tests/t2040-ic-repeat.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t2111-ii-indent.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 6 | 4 padding text 7 | 5 padding text 8 | -------------------------------------------------------------------------------- /tests/t2112-ii-trailing.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 6 | 4 padding text 7 | 5 padding text 8 | -------------------------------------------------------------------------------- /tests/t2300-icomma-whitespace.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t2550-iq-prefix-suffix.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|<[foo, bar, b z]>) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t3206-gsp-emptySeparator.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (foobar | foobar ) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t3231-gsp-line-incl-space.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (| foo bar b z ) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t3390-gQBP-on-last-indent.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | FOO we (|) here 4 | BAR 4 padding text 5 | BAZ 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t3391-gQBP-on-last-indent.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | FOO|we (|) here 4 | BAR|4 padding text 5 | BAZ|5 padding text 6 | -------------------------------------------------------------------------------- /tests/t3395-gQBp-at-end-of-line.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here FOO 4 | 4 padding text BAR 5 | 5 padding text BAZ 6 | -------------------------------------------------------------------------------- /tests/t3396-gQBp-at-end-of-line.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here|FOO 4 | 4 padding text|BAR 5 | 5 padding text|BAZ 6 | -------------------------------------------------------------------------------- /tests/t3402-gqbp-repeat.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (+-+foobar+-+|+-+foobar+-+) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t3440-gqbp-repeat.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|+-+foobar+-+) here 4 | 4 pad+-+foobar+-+ding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t3630-gGtp-characterwise-word.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here foobar 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t3670-gGtP-blockwise.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | FOO we (|) here 4 | X 4 padding text 5 | MUCH MOAR 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t5171-itilde-lines.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|[fOO] 4 | [BAR] 5 | ) here 6 | 4 padding text 7 | 5 padding text 8 | -------------------------------------------------------------------------------- /tests/t6100-grp-lines.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | bar 5 | b z 6 | 4 padding text 7 | 5 padding text 8 | -------------------------------------------------------------------------------- /tests/t6120-grp-unjoin.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|quick brown jumps there) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1063-gcgp-whitespace.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (| foo bar b z ) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1064-gcgp-empty-lines.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (| foo bar b z ) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1083-gcip-whitespace.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|foo 4 | bar 5 | b z) here 6 | 4 padding text 7 | 5 padding text 8 | -------------------------------------------------------------------------------- /tests/t1450-gQgp-whitespace.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (| foo bar b z ) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1460-gQgp-custom.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (| foo && bar && b z ) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1501-gqp-recall.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (hi+-+ho+-+here|foo+-+bar+-+b z) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1502-gqp-repeat.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (foo+-+bar+-+b z|foo+-+bar+-+b z) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1540-gqp-repeat.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|foo+-+bar+-+b zfoo+-+bar+-+b z) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1601-gUJp-ws-around.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | FOO 5 | BAR 6 | BAZ 7 | 4 padding text 8 | 5 padding text 9 | -------------------------------------------------------------------------------- /tests/t1804-gpp-last.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (.) her| 4 | 42 of 99 in 2000 have $112. 5 | 4 padding text 6 | 5 padding text 7 | -------------------------------------------------------------------------------- /tests/t2113-ii-whitespace.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 6 | 4 padding text 7 | 5 padding text 8 | -------------------------------------------------------------------------------- /tests/t2601-iuu-ws-around.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 7 | 4 padding text 8 | 5 padding text 9 | -------------------------------------------------------------------------------- /tests/t2700-iu-queried.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 6 | 4 padding text 7 | 5 padding text 8 | -------------------------------------------------------------------------------- /tests/t3120-gHashp-indented.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | /*foo bar*/ 5 | 4 padding text 6 | 5 padding text 7 | -------------------------------------------------------------------------------- /tests/t3203-gSp-characterwise.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | 5 | foobar 6 | 7 | 4 padding text 8 | 5 padding text 9 | -------------------------------------------------------------------------------- /tests/t3221-gsp-characterwise-incl-space.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (| foobar ) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t3290-gsp-repeat-count.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (| foobar ) here 4 | 4 pad foobar ding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t3531-gBp-different-width-linewise.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|foo) here 4 | 4 padxding text 5 | 5 padmuch moarding text 6 | -------------------------------------------------------------------------------- /tests/t3631-gGtp-characterwise-lines.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here foo here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t3640-gGtp-blockwise.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here FOO 4 | 4 padding text X 5 | 5 padding text MUCH MOAR 6 | -------------------------------------------------------------------------------- /tests/t3641-gGtp-blockwise.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here FOO 4 | 4 padding text X 5 | 5 padding text MUCH MOAR 6 | -------------------------------------------------------------------------------- /tests/t3660-gGtP-characterwise-word.ok: -------------------------------------------------------------------------------- 1 | foobar 1 padding text 2 | 2 padding text 3 | foobar we (|) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t6230-gR!p-characterwise.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|the quick 4 | the lazy) here 5 | 4 padding text 6 | 5 padding text 7 | -------------------------------------------------------------------------------- /tests/t6330-gr!p-characterwise.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|the quick 4 | the lazy) here 5 | 4 padding text 6 | 5 padding text 7 | -------------------------------------------------------------------------------- /tests/t7075-ihh-gt-characterwise-word.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we ( 4 | foobar) here 5 | 4 padding text 6 | 5 padding text 7 | -------------------------------------------------------------------------------- /tests/t1040-gcp-repeat.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|foo bar b zfoo bar b zfoo bar b z) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1085-gcip-single-count.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|foobar 4 | foobar 5 | foobar) here 6 | 4 padding text 7 | 5 padding text 8 | -------------------------------------------------------------------------------- /tests/t1120-glp-count.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | foo bar 5 | foo bar 6 | foo bar 7 | 4 padding text 8 | 5 padding text 9 | -------------------------------------------------------------------------------- /tests/t1368-gcommanp-single-count.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|neither me, me, nor me) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1559-gqp-escaped-newline.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|foo] 4 | [bar] 5 | [b z) here 6 | 4 padding text 7 | 5 padding text 8 | -------------------------------------------------------------------------------- /tests/t1580-gqp-five-part.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|Functions:foo() - bar() - baz()!) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1590-gqgp-whitespace.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (| foo +-+ bar +-+ b z ) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1700-gujp-queried.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | FOO B 5 | R B 6 | Z QUUX 7 | 4 padding text 8 | 5 padding text 9 | -------------------------------------------------------------------------------- /tests/t1801-gpp-on-last-digit.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (.) |ere 4 | 42 of 100 have $111. 5 | 4 padding text 6 | 5 padding text 7 | -------------------------------------------------------------------------------- /tests/t1802-gpp-behind-last-digit.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (.) h|re 4 | 42 of 99 have $112. 5 | 4 padding text 6 | 5 padding text 7 | -------------------------------------------------------------------------------- /tests/t1835-gpp-leading-zeros.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | 42 of 00100 have $111. 5 | 4 padding text 6 | 5 padding text 7 | -------------------------------------------------------------------------------- /tests/t1935-gPp-leading-zeros.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | 043 of 00100 have $112. 5 | 4 padding text 6 | 5 padding text 7 | -------------------------------------------------------------------------------- /tests/t2450-iqqgg-whitespace.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|< foo bar b z >) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t2501-iq-recall.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t2540-iq-repeat.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t2550-iqg-whitespace.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|< foo +-+ bar +-+ b z >) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t2600-iuu-whitespace.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 7 | 4 padding text 8 | 5 padding text 9 | -------------------------------------------------------------------------------- /tests/t32090-gsp-emptyBeforeAfterSeparator.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (foobar | foobar ) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t32091-gsp-emptyBeforeAfterSeparator.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (foobar | foobar ) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t32095-gsp-emptyBeforeAfterSeparator.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we ( foobar | foobar) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t32096-gsp-emptyBeforeAfterSeparator.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we ( foobar | foobar) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t3240-gsp-block-count.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (| FOO ) here 4 | 4 pad B Z ding text 5 | 5 pad QUUX ding text 6 | -------------------------------------------------------------------------------- /tests/t3409-gqbp-escaped-newline.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|& ) here 4 | 4 pad&foobar&ding text 5 | 5 pad& ding text 6 | -------------------------------------------------------------------------------- /tests/t3530-gBp-different-width-characterwise.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|foo) here 4 | 4 padxding text 5 | 5 padmuch moarding text 6 | -------------------------------------------------------------------------------- /tests/t3532-gBp-different-width-blockwise.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|foo) here 4 | 4 padxding text 5 | 5 padmuch moarding text 6 | -------------------------------------------------------------------------------- /tests/t3632-gGtp-characterwise-word-count.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here foobar 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t3650-gGtp-softtabstop.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here FOO 4 | 4 padding text X 5 | 5 padding text MUCH MOAR 6 | -------------------------------------------------------------------------------- /tests/t3661-gGtP-characterwise-lines.ok: -------------------------------------------------------------------------------- 1 | foo here 1 padding text 2 | 2 padding text 3 | foo here we (|) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t3671-gGtP-blockwise-longer.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | FOO we (|) here 4 | X 4 padding text 5 | MUCH MOAR 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t5015-g[[p-count.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | foo 5 | shorter 6 | longer 7 | 4 padding text 8 | 5 padding text 9 | -------------------------------------------------------------------------------- /tests/t5016-g[[P-count.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | foo 4 | shorter 5 | longer 6 | we (|) here 7 | 4 padding text 8 | 5 padding text 9 | -------------------------------------------------------------------------------- /tests/t5110-gup-lines.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | :: my fOO is :: 5 | bar 6 | Baz 7 | 4 padding text 8 | 5 padding text 9 | -------------------------------------------------------------------------------- /tests/t6020-gRp-unjoin.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|quick brown jumps there) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t6795-ibslash-choices.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1021-gcp-named-count.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|foo bar b z foo bar b z foo bar b z) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1351-gcommaquotep-whitespace.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|"foo", "bar", "b z", "end") here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1353-gcommaquotep-whitespace.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we ('foo', 'bar', 'b z', 'end'|) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1709-gujp-escaped-newline.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | FOO BA 5 | BAZ QUUX 6 | 4 padding text 7 | 5 padding text 8 | -------------------------------------------------------------------------------- /tests/t3101-ghashp-named.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | /*foo*/ 5 | /*bar*/ 6 | /*b z*/ 7 | 4 padding text 8 | 5 padding text 9 | -------------------------------------------------------------------------------- /tests/t3220-gsp-characterwise-count.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (| foobar 4 | is here ) here 5 | 4 padding text 6 | 5 padding text 7 | -------------------------------------------------------------------------------- /tests/t3331-gQBp-different-width-linewise.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (| foo ) here 4 | 4 pad x ding text 5 | 5 pad much moar ding text 6 | -------------------------------------------------------------------------------- /tests/t3332-gQBp-different-width-blockwise.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (| foo ) here 4 | 4 pad x ding text 5 | 5 pad much moar ding text 6 | -------------------------------------------------------------------------------- /tests/t3521-gBp-line-count.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|foofoofoo) here 4 | 4 pad ding text 5 | 5 padding text 6 | bazbazbaz 7 | -------------------------------------------------------------------------------- /tests/t3522-gBp-block-count.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|FOO FOO FOO ) here 4 | 4 padB ZB ZB Zding text 5 | 5 padQUUXQUUXQUUXding text 6 | -------------------------------------------------------------------------------- /tests/t3643-gGtp-blockwise-count.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here FOO 4 | 4 padding text X 5 | 5 padding text MUCH MOAR 6 | -------------------------------------------------------------------------------- /tests/t3644-gGtp-blockwise-count.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here FOO 4 | 4 padding text X 5 | 5 padding text MUCH MOAR 6 | -------------------------------------------------------------------------------- /tests/t3662-gGtP-characterwise-word-count.ok: -------------------------------------------------------------------------------- 1 | foobar 1 padding text 2 | 2 padding text 3 | foobar we (|) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t3674-gGtP-blockwise-count.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | FOO we (|) here 4 | X 4 padding text 5 | MUCH MOAR 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t3681-gGtP-softtabstop.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | FOO we (|) here 4 | X 4 padding text 5 | MUCH MOAR 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t5025-g[[p-blockwise.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | FOO 5 | X 6 | MUCH MOAR 7 | 4 padding text 8 | 5 padding text 9 | -------------------------------------------------------------------------------- /tests/t6000-gRp-lines.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | foo 5 | bar 6 | b z 7 | 4 padding text 8 | 5 padding text 9 | -------------------------------------------------------------------------------- /tests/t6030-gRp-characterwise.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|brown fox 4 | jumps over 5 | dog) here 6 | 4 padding text 7 | 5 padding text 8 | -------------------------------------------------------------------------------- /tests/t6130-grp-characterwise.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|brown fox 4 | jumps over 5 | dog) here 6 | 4 padding text 7 | 5 padding text 8 | -------------------------------------------------------------------------------- /tests/t6200-gR!p-lines.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | foo 5 | bar 6 | b z 7 | 4 padding text 8 | 5 padding text 9 | -------------------------------------------------------------------------------- /tests/t6320-gr!p-words.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (| the (f_o_x) over the lazy [d_o_g]) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t6710-gbslash-none.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|main("f/o/o", 'b\\a\\r', "rock'n'roll")) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1020-gcp-default-count.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|foo bar b z foo bar b z foo bar b z) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1320-gcommap-count.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|foo, bar, b z, foo, bar, b z, foo, bar, b z) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1360-gcommaap.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (this, that, this, and that|foo, bar, and quux) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1570-gqp-prefix-suffix-recall.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we ([hi, ho, here]|[foo, bar, b z]) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1805-gpp-second-line.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | { 5 | 42 of 100 have $111. 6 | } 7 | 4 padding text 8 | 5 padding text 9 | -------------------------------------------------------------------------------- /tests/t3020-g]p-count.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | foo bar 5 | foo bar 6 | foo bar 7 | 4 padding text 8 | 5 padding text 9 | -------------------------------------------------------------------------------- /tests/t3140-gHashp-commentstring.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | // foo 5 | // bar 6 | // b z 7 | 4 padding text 8 | 5 padding text 9 | -------------------------------------------------------------------------------- /tests/t3202-gSp-named.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | 5 | foo 6 | bar 7 | b z 8 | 9 | 4 padding text 10 | 5 padding text 11 | -------------------------------------------------------------------------------- /tests/t3222-gsp-characterwise-incl-space.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (| foobar 4 | is here ) here 5 | 4 padding text 6 | 5 padding text 7 | -------------------------------------------------------------------------------- /tests/t3262-gSp-linewise-borders.ok: -------------------------------------------------------------------------------- 1 | FOO 2 | 3 | 1 padding text 4 | 2 padding text 5 | we (|) here 6 | 4 padding text 7 | 5 padding text 8 | 9 | FOO 10 | -------------------------------------------------------------------------------- /tests/t3330-gQBp-different-width-characterwise.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (| foo ) here 4 | 4 pad x ding text 5 | 5 pad much moar ding text 6 | -------------------------------------------------------------------------------- /tests/t3550-gBp-characterwise-borders.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | FOOwe (|) hereFOO 4 | wFOOe (|) herFOOe 5 | 4 padding text 6 | 5 padding text 7 | -------------------------------------------------------------------------------- /tests/t3635-gGtp-characterwise-repeat-count.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here foobar 4 | 4 padding text foobar 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t3651-gGtp-softtabstop.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here FOO 4 | 4 padding text X 5 | 5 padding text MUCH MOAR 6 | -------------------------------------------------------------------------------- /tests/t3655-gGtp-expandtab.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here FOO 4 | 4 padding text X 5 | 5 padding text MUCH MOAR 6 | -------------------------------------------------------------------------------- /tests/t5020-g]]p-blockwise.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | FOO 5 | X 6 | MUCH MOAR 7 | 4 padding text 8 | 5 padding text 9 | -------------------------------------------------------------------------------- /tests/t6300-gr!p-lines.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | 5 | foo 6 | 7 | 8 | 9 | 4 padding text 10 | 5 padding text 11 | -------------------------------------------------------------------------------- /tests/t6520-g=p-unjoin.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|The Quick brown fox Jumps Over The lazy dog) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t6700-gbslash-default.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|main("f/o/o", 'b\\a\\r', "rock'n'roll")) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1071-gCp-named-count-blockwise.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|FOO B Z Q X FOO B Z Q X FOO B Z Q X) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1411-gQp-customlist.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (| 4 | &foo> 5 | 6 | ) here 8 | 4 padding text 9 | 5 padding text 10 | -------------------------------------------------------------------------------- /tests/t3204-gSp-emptyPattern.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | foo 4 | 5 | we (|) here 6 | 7 | foo 8 | 9 | 4 padding text 10 | 5 padding text 11 | -------------------------------------------------------------------------------- /tests/t3250-gsp-characterwise-borders.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | FOO we (|) here FOO 4 | w FOO e (|) her FOO e 5 | 4 padding text 6 | 5 padding text 7 | -------------------------------------------------------------------------------- /tests/t3350-gQBp-characterwise-borders.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | FOO we (|) here FOO 4 | w FOO e (|) her FOO e 5 | 4 padding text 6 | 5 padding text 7 | -------------------------------------------------------------------------------- /tests/t3401-gqbp-recall.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|+-+foobar+-+) here 4 | 4 pad+-+hi+-+ding text 5 | 5 pad+-+hoo+-+ding text 6 | +-+here+-+ 7 | -------------------------------------------------------------------------------- /tests/t3593-gBP-on-last-indent-extending.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | FOOwe (|) here 4 | BAR4 padding text 5 | BAZ5 padding text 6 | MOAR 7 | HERE 8 | -------------------------------------------------------------------------------- /tests/t3672-gGtP-blockwise-extending.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | FOO we (|) here 4 | BAR 4 padding text 5 | BAZ 5 padding text 6 | MOAR 7 | HERE 8 | -------------------------------------------------------------------------------- /tests/t5010-g]]p-count.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | foo 5 | shorter 6 | longer 7 | 4 padding text 8 | 5 padding text 9 | -------------------------------------------------------------------------------- /tests/t5011-g]]P-count.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | foo 4 | shorter 5 | longer 6 | we (|) here 7 | 4 padding text 8 | 5 padding text 9 | -------------------------------------------------------------------------------- /tests/t6450-g==p-count.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|1foo 4 | 2foo 5 | 3foo 6 | 4foo 7 | 5foo) here 8 | 4 padding text 9 | 5 padding text 10 | -------------------------------------------------------------------------------- /tests/t6610-gbslashbslashp-local.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|main("f/X/X", 'b\a\r', "rXck'n'rXll")) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t7070-ihh-gt-lines.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we ( 4 | foo 5 | bar 6 | baz 7 | ) here 8 | 4 padding text 9 | 5 padding text 10 | -------------------------------------------------------------------------------- /tests/t1042-gcp-count-repeat.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|foo bar b zfoo bar b z foo bar b z foo bar b z) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1084-gcip-empty-lines.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|foo 4 | 5 | bar 6 | 7 | b z) here 8 | 4 padding text 9 | 5 padding text 10 | -------------------------------------------------------------------------------- /tests/t1812-gpp-block-with-count.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|43) here 4 | 4 pad91ding text 5 | 5 pad$2ding text 6 | 44 7 | 92 8 | $3 9 | -------------------------------------------------------------------------------- /tests/t2620-iuu-autoindent.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (| 4 | ) here 8 | 4 padding text 9 | 5 padding text 10 | -------------------------------------------------------------------------------- /tests/t3322-gQBp-block-count.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (| FOO FOO FOO ) here 4 | 4 pad B Z B Z B Z ding text 5 | 5 pad QUUX QUUX QUUX ding text 6 | -------------------------------------------------------------------------------- /tests/t3392-gQBp-on-last-indent.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | w|FOO|e (|) here 4 | |BAR| 4 padding text 5 | 5|BAZ| padding text 6 | -------------------------------------------------------------------------------- /tests/t3393-gQBP-on-last-indent-extending.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | FOO we (|) here 4 | BAR 4 padding text 5 | BAZ 5 padding text 6 | MOAR 7 | HERE 8 | -------------------------------------------------------------------------------- /tests/t3397-gQBP-at-end-of-line.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) her|FOO|e 4 | 4 |BAR|padding text 5 | 5 padding |BAZ|text 6 | -------------------------------------------------------------------------------- /tests/t3442-gqbp-unjoin-repeat.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|+-+foo+-+) here 4 | 4 pad+-+bar+-+ding text 5 | 5 pad+-+foo+-+ding text 6 | +-+bar+-+ 7 | -------------------------------------------------------------------------------- /tests/t3520-gBp-characterwise-count.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|foobarfoobarfoobar) here 4 | 4 padis here,is here,is here,ding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t3680-gGtP-softtabstop.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | FOO we (|) here 4 | X 4 padding text 5 | MUCH MOAR 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t3690-gGtP-full-retab-softtabstop.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | FOO we (|) here 4 | X 4 padding text 5 | MUCH MOAR 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t6101-grp-recall.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | bo 4 | beer 5 | we (|) here 6 | bar 7 | b z 8 | 4 padding text 9 | 5 padding text 10 | -------------------------------------------------------------------------------- /tests/t6220-gR!p-words.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|the (f_o_x) over the lazy [d_o_g]) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t6420-g==p-unjoin-separators.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|The Quick Brown Fox Jumps Over The Lazy Dog) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t6425-g==p-unjoin-matches.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|The Quick Brown Fox Jumps Over The Lazy Dog) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t6720-gbslash-entered.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|main("f/[o]/[o]", 'b\a\r', "r[o]ck'n'r[o][l][l]")) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t7012-ihh-default-line.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (| 4 | 5 | foo 6 | 7 | ) here 8 | 4 padding text 9 | 5 padding text 10 | -------------------------------------------------------------------------------- /tests/t7050-ihh-n-lines.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we ( 4 | foo 5 | bar 6 | baz 7 | ) here 8 | 4 padding text 9 | 5 padding text 10 | -------------------------------------------------------------------------------- /tests/t3205-gSp-whitespaceLine.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | 4 | foo 5 | 6 | we (|) here 7 | 8 | foo 9 | 10 | 4 padding text 11 | 5 padding text 12 | -------------------------------------------------------------------------------- /tests/t32080-gSp-emptyAboveBelowPattern.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | foo 4 | 5 | we (|) here 6 | 7 | foo 8 | 9 | 4 padding text 10 | 5 padding text 11 | -------------------------------------------------------------------------------- /tests/t32081-gSp-emptyAboveBelowPattern.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | foo 4 | 5 | we (|) here 6 | 7 | foo 8 | 9 | 4 padding text 10 | 5 padding text 11 | -------------------------------------------------------------------------------- /tests/t32085-gSp-emptyAboveBelowPattern.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | 4 | foo 5 | 6 | we (|) here 7 | 8 | foo 9 | 4 padding text 10 | 5 padding text 11 | -------------------------------------------------------------------------------- /tests/t32086-gSp-emptyAboveBelowPattern.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | 4 | foo 5 | 6 | we (|) here 7 | 8 | foo 9 | 4 padding text 10 | 5 padding text 11 | -------------------------------------------------------------------------------- /tests/t3263-gSp-linewise-borders.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 3 | FOO 4 | 5 | 2 padding text 6 | we (|) here 7 | 4 padding text 8 | 9 | FOO 10 | 11 | 5 padding text 12 | -------------------------------------------------------------------------------- /tests/t3321-gQBp-line-count.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (| foo foo foo ) here 4 | 4 pad ding text 5 | 5 pad ding text 6 | baz baz baz 7 | -------------------------------------------------------------------------------- /tests/t3600-gGtp-named-lines.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | FOO 5 | BAR 6 | 7 | MOAR STUFF 8 | 4 padding text 9 | 5 padding text 10 | -------------------------------------------------------------------------------- /tests/t3601-gGtP-named-lines.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | FOO 4 | BAR 5 | 6 | MOAR STUFF 7 | we (|) here 8 | 4 padding text 9 | 5 padding text 10 | -------------------------------------------------------------------------------- /tests/t3620-gGtp-count.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | FOO 5 | BAR 6 | 7 | MOAR STUFF 8 | 4 padding text 9 | 5 padding text 10 | -------------------------------------------------------------------------------- /tests/t3642-gGtp-blockwise-extending.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here FOO 4 | 4 padding text BAR 5 | 5 padding text BAZ 6 | MOAR 7 | HERE 8 | -------------------------------------------------------------------------------- /tests/t3685-gGtP-expandtab.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | FOO we (|) here 4 | X 4 padding text 5 | MUCH MOAR 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t6050-gRp-count.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | foo 5 | bar 6 | foo 7 | bar 8 | foo 9 | bar 10 | 4 padding text 11 | 5 padding text 12 | -------------------------------------------------------------------------------- /tests/t6102-grp-repeat.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | bar 4 | b z 5 | we (|) here 6 | bar 7 | b z 8 | 4 padding text 9 | 5 padding text 10 | -------------------------------------------------------------------------------- /tests/t6460-g==p-filter.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | the 5 | quick 6 | jumps 7 | the 8 | lazy 9 | 4 padding text 10 | 5 padding text 11 | -------------------------------------------------------------------------------- /tests/t6620-gbslashbslashp-local-Funcref.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|oO[main("f/X/X", 'b\a\r', "rXck'n'rXll")]Oo) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t6621-gbslashbslashp-local-both.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|oO[main("f/X/X", 'b\a\r', "rXck'n'rXll")]Oo) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1365-gcommaop.vim: -------------------------------------------------------------------------------- 1 | " Test g,op of lines. 2 | 3 | call SetRegister('r', "foo\n\tbar \nquux\n", 'V') 4 | normal "rg,op 5 | 6 | call vimtest#SaveOut() 7 | call vimtest#Quit() 8 | -------------------------------------------------------------------------------- /tests/t1366-gcommanp.vim: -------------------------------------------------------------------------------- 1 | " Test g,op of lines. 2 | 3 | call SetRegister('r', "foo\n\tbar \nquux\n", 'V') 4 | normal "rg,np 5 | 6 | call vimtest#SaveOut() 7 | call vimtest#Quit() 8 | -------------------------------------------------------------------------------- /tests/t1461-gQgp-customlist.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (| 4 | & foo > 5 | < bar > 6 | < b z & 7 | ) here 8 | 4 padding text 9 | 5 padding text 10 | -------------------------------------------------------------------------------- /tests/t1593-gqgp-recall-gQgp.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we ( hi +-+ ho +-+ here | foo +-+ bar +-+ b z ) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t3320-gQBp-characterwise-count.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (| foobar foobar foobar ) here 4 | 4 pad is here, is here, is here, ding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t3656-gGtp-expandtab.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here FOO 4 | 4 padding text X 5 | 5 padding text MUCH MOAR 6 | -------------------------------------------------------------------------------- /tests/t6301-gr!p-recall.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | hi 4 | who 5 | we (|) here 6 | 7 | foo 8 | 9 | 10 | 11 | 4 padding text 12 | 5 padding text 13 | -------------------------------------------------------------------------------- /tests/t6400-g==p-lines.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | int main() 5 | 6 | void foo() 7 | void finalize() 8 | 4 padding text 9 | 5 padding text 10 | -------------------------------------------------------------------------------- /tests/t6622-gbslashbslashp-local-expression.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|oO[main("f/X/X", 'b\a\r', "rXck'n'rXll")]Oo) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t7000-gHp-default-characterwise-lines.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | 5 | foo 6 | here 7 | 8 | 4 padding text 9 | 5 padding text 10 | -------------------------------------------------------------------------------- /tests/t7060-ihh-m-lines.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we ( 4 | foo 5 | bar 6 | baz 7 | ) here 8 | 4 padding text 9 | 5 padding text 10 | -------------------------------------------------------------------------------- /tests/t7100-gHp-repeat.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|, 3 dollars, 4 dollars, 5 dollars, 6 dollars, 3 dollars, 4 dollars) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1350-gcommaquotep-count.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|"foo", "bar", "b z", "foo", "bar", "b z", "foo", "bar", "b z") here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1370-gcommaap-pair-no-serial.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (neither single nor single|foo and bar) here 4 | 4 padding text 5 | foo, bar, foo, and bar5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1602-gUJp-multi-around.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | 5 | 6 | foo 7 | 8 | 9 | bar 10 | 11 | 12 | 4 padding text 13 | 5 padding text 14 | -------------------------------------------------------------------------------- /tests/t1806-gpp-third-line.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | { //// 5 | 1 6 | 42 of 100 have $111. 7 | } //// 8 | 4 padding text 9 | 5 padding text 10 | -------------------------------------------------------------------------------- /tests/t1810-gpp-characterwise.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|42 of 100 have $111.42 of 101 have $111.42 of 102 have $111.) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1870-gpP-count.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | 42 of 96 have $111. 4 | 42 of 97 have $111. 5 | 42 of 98 have $111. 6 | we (|) here 7 | 4 padding text 8 | 5 padding text 9 | -------------------------------------------------------------------------------- /tests/t1920-gPp-characterwise.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|43 of 100 have $112.44 of 101 have $113.45 of 102 have $114.) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1930-gPP-count.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | 39 of 96 have $108. 4 | 40 of 97 have $109. 5 | 41 of 98 have $110. 6 | we (|) here 7 | 4 padding text 8 | 5 padding text 9 | -------------------------------------------------------------------------------- /tests/t2602-iuu-multi-around.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|< 4 | 5 | foo 6 | 7 | 8 | bar 9 | 10 | 11 | >) here 12 | 4 padding text 13 | 5 padding text 14 | -------------------------------------------------------------------------------- /tests/t2740-iu-repeat.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 8 | 4 padding text 9 | 5 padding text 10 | -------------------------------------------------------------------------------- /tests/t3223-gSp-characterwise-count.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | 5 | 6 | 7 | foobar 8 | 9 | 10 | 11 | 4 padding text 12 | 5 padding text 13 | -------------------------------------------------------------------------------- /tests/t3354-gQBp-characterwise-unjoin-borders.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | F we (|) here F 4 | O we (|) here O 5 | O we (|) here O 6 | 4 padding text 7 | 5 padding text 8 | -------------------------------------------------------------------------------- /tests/t1041-gcp-repeat-count.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|foo bar b z foo bar b z foo bar b zfoo bar b z foo bar b z foo bar b z) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1820-gpp-count.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | 42 of 100 have $111. 5 | 42 of 101 have $111. 6 | 42 of 102 have $111. 7 | 4 padding text 8 | 5 padding text 9 | -------------------------------------------------------------------------------- /tests/t3403-gqbp-unjoin-recall.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|+-+foo+-+) here 4 | 4 pad+-+bar+-+ding text 5 | 5 pad+-+hi+-+ding text 6 | +-+hoo+-+ 7 | +-+here+-+ 8 | -------------------------------------------------------------------------------- /tests/t3645-gGtp-blockwise-repeat-count.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here FOO 4 | 4 padding text X FOO 5 | 5 padding text MUCH MOAR X 6 | MUCH MOAR 7 | -------------------------------------------------------------------------------- /tests/t3695-gGtP-full-retab-expandtab.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | FOO we (|) here 4 | X 4 padding text 5 | MUCH MOAR 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t7000-gHp-default-lines.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | 5 | FOO 6 | BAR 7 | 8 | MOAR STUFF 9 | 10 | 4 padding text 11 | 5 padding text 12 | -------------------------------------------------------------------------------- /tests/t7020-gHp-default-lines.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | 5 | FOO 6 | BAR 7 | 8 | MOAR STUFF 9 | 10 | 4 padding text 11 | 5 padding text 12 | -------------------------------------------------------------------------------- /tests/t1740-gujp-repeat.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | FOO B 5 | FOO B 6 | R B 7 | Z QUUX 8 | R B 9 | Z QUUX 10 | 4 padding text 11 | 5 padding text 12 | -------------------------------------------------------------------------------- /tests/t1807-gpp-multi-line.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | { 5 | 42 of 100 have $111. 6 | 42 of 100 have $111. 7 | } 8 | 4 padding text 9 | 5 padding text 10 | -------------------------------------------------------------------------------- /tests/t1910-gPp-multi-line.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | { 5 | 43 of 100 have $112. 6 | 43 of 100 have $112. 7 | } 8 | 4 padding text 9 | 5 padding text 10 | -------------------------------------------------------------------------------- /tests/t3242-gSp-block-count.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | 5 | 6 | 7 | FOO 8 | B Z 9 | QUUX 10 | 11 | 12 | 13 | 4 padding text 14 | 5 padding text 15 | -------------------------------------------------------------------------------- /tests/t9020-percent-register.vim: -------------------------------------------------------------------------------- 1 | " Test linewise pasting of % register. 2 | 3 | file foo.txt 4 | normal "%glp 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t1367-gcommaap-single-count.vim: -------------------------------------------------------------------------------- 1 | " Test g,ap of a single entry with count. 2 | 3 | call SetRegister('r', "me", 'v') 4 | normal "r3g,ap 5 | 6 | call vimtest#SaveOut() 7 | call vimtest#Quit() 8 | -------------------------------------------------------------------------------- /tests/t1581-gqp-five-part.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|
    4 |
  • foo
  • 5 |
  • bar
  • 6 |
  • baz
  • 7 |
) here 8 | 4 padding text 9 | 5 padding text 10 | -------------------------------------------------------------------------------- /tests/t6302-gr!p-repeat.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | 4 | foo 5 | 6 | 7 | 8 | we (|) here 9 | 10 | foo 11 | 12 | 13 | 14 | 4 padding text 15 | 5 padding text 16 | -------------------------------------------------------------------------------- /tests/t6750-gbslash-choice-recall.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (main(\"f/o/o\", \'b\a\r\', \"rock\'n\'roll\")|Can \"O\'Reilly\" come here?) here 4 | 4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t7010-ihh-default-characterwise-lines.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (| 4 | 5 | foo 6 | here 7 | 8 | ) here 9 | 4 padding text 10 | 5 padding text 11 | -------------------------------------------------------------------------------- /tests/t1701-gujp-recall.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | M 4 | RT 5 | RN 6 | R 7 | U 8 | R 9 | we (|) here 10 | FOO B 11 | R B 12 | Z 13 | UUX 14 | 4 padding text 15 | 5 padding text 16 | -------------------------------------------------------------------------------- /tests/t1702-gujp-repeat.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | FOO B 4 | R B 5 | Z 6 | UUX 7 | we (|) here 8 | FOO B 9 | R B 10 | Z 11 | UUX 12 | 4 padding text 13 | 5 padding text 14 | -------------------------------------------------------------------------------- /tests/t2701-iu-recall.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 13 | 4 padding text 14 | 5 padding text 15 | -------------------------------------------------------------------------------- /tests/t3232-gSp-line-count.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | 5 | 6 | 7 | foo 8 | bar 9 | b z 10 | 11 | 12 | 13 | 4 padding text 14 | 5 padding text 15 | -------------------------------------------------------------------------------- /tests/t5150-gUp-single-char.vim: -------------------------------------------------------------------------------- 1 | " Test gUp of single character. 2 | 3 | call SetRegister('r', 'x', 'v') 4 | normal "rgUp 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t3598-gBp-at-end-of-line-count.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) hereFOOFOOFOO 4 | 4 padding textBARBARBAR 5 | 5 padding textBAZBAZBAZ 6 | 7 | MOARMOARMOAR 8 | -------------------------------------------------------------------------------- /tests/t3686-gGtP-expandtab.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | FOO we (|) here 4 | X 4 padding text 5 | MUCH MOAR 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t6600-gbslashbslashp-lines.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | main("f/o/o", 'b\\a\\r', "rock'n'roll") 5 | 6 | Can ...\\foo\\bar\\... be done? 7 | 4 padding text 8 | 5 padding text 9 | -------------------------------------------------------------------------------- /tests/t6690-ibslashbslash-lines.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 7 | 4 padding text 8 | 5 padding text 9 | -------------------------------------------------------------------------------- /tests/t7030-ihh-default-lines.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (| 4 | 5 | FOO 6 | BAR 7 | 8 | MOAR STUFF 9 | 10 | ) here 11 | 4 padding text 12 | 5 padding text 13 | -------------------------------------------------------------------------------- /tests/t9000-expression-register.vim: -------------------------------------------------------------------------------- 1 | " Test linewise pasting of expression register. 2 | 3 | execute "normal \"=23+19\glp" 4 | call VerifyRegister() 5 | 6 | call vimtest#SaveOut() 7 | call vimtest#Quit() 8 | -------------------------------------------------------------------------------- /tests/t9030-dot-register.vim: -------------------------------------------------------------------------------- 1 | " Test linewise pasting of . register. 2 | 3 | execute "normal! a[foo]\" 4 | normal ".glp 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t1100-glp-named.vim: -------------------------------------------------------------------------------- 1 | " Test glp of words in named register. 2 | 3 | call SetRegister('r', "foo bar", 'v') 4 | normal "rglp 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t1101-glP-named.vim: -------------------------------------------------------------------------------- 1 | " Test glP of words in named register. 2 | 3 | call SetRegister('r', "foo bar", 'v') 4 | normal "rglP 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t3130-gHashp-count.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | /*foo*/ 5 | /* bar*/ 6 | /*foo*/ 7 | /* bar*/ 8 | /*foo*/ 9 | /* bar*/ 10 | 4 padding text 11 | 5 padding text 12 | -------------------------------------------------------------------------------- /tests/t3241-gsp-block-incl-space.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (| ) here 4 | 4 pad ding text 5 | 5 pad FOO ding text 6 | BZ 7 | QUUX 8 | 9 | -------------------------------------------------------------------------------- /tests/t5031-g[[p-softtabstop.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | foo 5 | much shorter 6 | shorter 7 | muchlonger 8 | longer 9 | 4 padding text 10 | 5 padding text 11 | -------------------------------------------------------------------------------- /tests/t6410-g==p-custom.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | INT MAIN(INT ARGC, CHAR[] ARGV) 5 | 6 | VOID FOO(CHAR C, INT N) 7 | VOID FINALIZE() 8 | 4 padding text 9 | 5 padding text 10 | -------------------------------------------------------------------------------- /tests/t6430-g==p-characterwise.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|The quick 4 | Brown fox 5 | 6 | 7 | Jumps over 8 | The lazy 9 | 10 | 11 | Dog) here 12 | 4 padding text 13 | 5 padding text 14 | -------------------------------------------------------------------------------- /tests/t6485-g==p-ex.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | int main(int argc, char[] argv) 5 | 6 | void foo(char c, int n) 7 | void finalize() 8 | 4 padding text 9 | 5 padding text 10 | -------------------------------------------------------------------------------- /tests/t6500-g=p-lines.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | INT MAIN(INT ARGC, CHAR[] ARGV) 5 | 6 | VOID FOO(CHAR C, INT N) 7 | VOID FINALIZE() 8 | 4 padding text 9 | 5 padding text 10 | -------------------------------------------------------------------------------- /tests/t6630-gbslashbslashp-count.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | Can "O'Reilly" cXme here? 5 | Can "O'Reilly" cXme here? 6 | Can "O'Reilly" cXme here? 7 | 4 padding text 8 | 5 padding text 9 | -------------------------------------------------------------------------------- /tests/t1890-gpP-repeat.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | 41 of 99 have $111. 4 | 42 of 96 have $111. 5 | 42 of 97 have $111. 6 | 42 of 98 have $111. 7 | we (|) here 8 | 4 padding text 9 | 5 padding text 10 | -------------------------------------------------------------------------------- /tests/t1900-gPp-line.vim: -------------------------------------------------------------------------------- 1 | " Test gPp of numbers in line. 2 | 3 | call SetRegister('r', "42 of 99 have $111.\n", 'V') 4 | normal "rgPp 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t3110-gHashp-whitespace.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | 5 | /* foo */ 6 | /* bar */ 7 | 8 | 9 | /* b z */ 10 | /* */ 11 | 12 | 4 padding text 13 | 5 padding text 14 | -------------------------------------------------------------------------------- /tests/t3200-gsp-default.vim: -------------------------------------------------------------------------------- 1 | " Test gsp of a word in the default register. 2 | 3 | call SetRegister('"', "foobar", 'v') 4 | normal gsp 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t3233-gSp-line-incl-space.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | 5 | 6 | 7 | 8 | foo 9 | bar 10 | b z 11 | 12 | 13 | 14 | 4 padding text 15 | 5 padding text 16 | -------------------------------------------------------------------------------- /tests/t6480-g==p-function.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | INT MAIN(INT ARGC, CHAR[] ARGV) 5 | 6 | VOID FOO(CHAR C, INT N) 7 | VOID FINALIZE() 8 | 4 padding text 9 | 5 padding text 10 | -------------------------------------------------------------------------------- /tests/t6490-g==p-external.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | int main[int argc, char() argv] 5 | 6 | void foo[char c, int n] 7 | void finalize[] 8 | 4 padding text 9 | 5 padding text 10 | -------------------------------------------------------------------------------- /tests/t6790-ibslash-entered.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 7 | 4 padding text 8 | 5 padding text 9 | -------------------------------------------------------------------------------- /tests/t1200-gbp-named.vim: -------------------------------------------------------------------------------- 1 | " Test gbp of same-width lines in named register. 2 | 3 | call SetRegister('r', "FOO\nBAR\n", 'V') 4 | normal "rgbp 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t1201-gbP-named.vim: -------------------------------------------------------------------------------- 1 | " Test gbp of same-width lines in named register. 2 | 3 | call SetRegister('r', "FOO\nBAR\n", 'V') 4 | normal "rgbP 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t1582-gqp-element-suffix.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|foo() 4 | { 5 | 6 | } 7 | bar() 8 | { 9 | 10 | } 11 | baz() 12 | { 13 | 14 | } 15 | ) here 16 | 4 padding text 17 | 5 padding text 18 | -------------------------------------------------------------------------------- /tests/t1840-gpp-repeat.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | 42 of 100 have $111. 5 | 42 of 101 have $111. 6 | 42 of 102 have $111. 7 | 43 of 99 have $111. 8 | 4 padding text 9 | 5 padding text 10 | -------------------------------------------------------------------------------- /tests/t1940-gPp-repeat.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | 43 of 100 have $112. 5 | 44 of 101 have $113. 6 | 45 of 102 have $114. 7 | 43 of 100 have $112. 8 | 4 padding text 9 | 5 padding text 10 | -------------------------------------------------------------------------------- /tests/t3203-gSp-characterwise.vim: -------------------------------------------------------------------------------- 1 | " Test gSp of a word in the default register. 2 | 3 | call SetRegister('"', "foobar", 'v') 4 | normal gSp 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t3398-gQBp-at-end-of-line-count.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here|FOO|FOO|FOO 4 | 4 padding text|BAR|BAR|BAR 5 | 5 padding text|BAZ|BAZ|BAZ 6 | ||| 7 | |MOAR|MOAR|MOAR 8 | -------------------------------------------------------------------------------- /tests/t5030-g]]p-softtabstop.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | foo 5 | much shorter 6 | shorter 7 | muchlonger 8 | longer 9 | 4 padding text 10 | 5 padding text 11 | -------------------------------------------------------------------------------- /tests/t5100-gup-default.vim: -------------------------------------------------------------------------------- 1 | " Test gup of three words in default register. 2 | 3 | call SetRegister('"', "This Is Foo", 'v') 4 | normal gup 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t1000-gcp-default.vim: -------------------------------------------------------------------------------- 1 | " Test gcp of multiple lines in default register. 2 | 3 | call SetRegister('"', "foo\nbar\nb z\n", 'V') 4 | normal gcp 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t1001-gcp-named.vim: -------------------------------------------------------------------------------- 1 | " Test gcp of multiple lines in named register. 2 | 3 | call SetRegister('r', "foo\nbar\nb z\n", 'V') 4 | normal "rgcp 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t1002-gcP-default.vim: -------------------------------------------------------------------------------- 1 | " Test gcP of multiple lines in default register. 2 | 3 | call SetRegister('"', "foo\nbar\nb z\n", 'V') 4 | normal gcP 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t1003-gcP-named.vim: -------------------------------------------------------------------------------- 1 | " Test gcP of multiple lines in named register. 2 | 3 | call SetRegister('r', "foo\nbar\nb z\n", 'V') 4 | normal "rgcP 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t1842-gpp-count-repeat.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | 42 of 100 have $111. 5 | 42 of 101 have $111. 6 | 42 of 102 have $111. 7 | 42 of 103 have $111. 8 | 4 padding text 9 | 5 padding text 10 | -------------------------------------------------------------------------------- /tests/t2020-ic-autoformat.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 6 | 4 padding text 7 | 5 padding text 8 | -------------------------------------------------------------------------------- /tests/t3201-gsp-lines.vim: -------------------------------------------------------------------------------- 1 | " Test gsp of multiple lines in named register. 2 | 3 | call SetRegister('r', "foo\nbar\nb z\n", 'V') 4 | normal "rgsp 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t3202-gSp-named.vim: -------------------------------------------------------------------------------- 1 | " Test gSp of multiple lines in named register. 2 | 3 | call SetRegister('r', "foo\nbar\nb z\n", 'V') 4 | normal "rgSp 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t3210-gsp-block.vim: -------------------------------------------------------------------------------- 1 | " Test gsp of block in named register. 2 | 3 | call SetRegister('r', "FOO \nB Z\nQUUX", "\4") 4 | normal "rgsp 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t3310-gQBp-block.vim: -------------------------------------------------------------------------------- 1 | " Test gQBp of block in named register. 2 | 3 | call SetRegister('r', "FOO \nB Z\nQUUX", "\4") 4 | normal "rgQBp 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t3501-gBp-named.vim: -------------------------------------------------------------------------------- 1 | " Test gBp of multiple lines in named register. 2 | 3 | call SetRegister('r', "foo\nbar\nb z\n", 'V') 4 | normal "rgBp 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t3510-gBp-block.vim: -------------------------------------------------------------------------------- 1 | " Test gBp of block in named register. 2 | 3 | call SetRegister('r', "FOO \nB Z\nQUUX", "\4") 4 | normal "rgBp 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t5120-gup-block.vim: -------------------------------------------------------------------------------- 1 | " Test gup of a block in unnamed register. 2 | 3 | call SetRegister('"', "--- \nB Z\nQUUX", "\4") 4 | normal gup 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t1010-gcp-block.vim: -------------------------------------------------------------------------------- 1 | " Test gcp of block in named register. 2 | 3 | call SetRegister('r', "FOO \nB Z \nQUUX ", "\6") 4 | normal "rgcp 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t1050-gcgp-default.vim: -------------------------------------------------------------------------------- 1 | " Test gcgp of multiple lines in default register. 2 | 3 | call SetRegister('"', "foo\nbar\nb z\n", 'V') 4 | normal gcgp 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t1080-gcip-default.vim: -------------------------------------------------------------------------------- 1 | " Test gcip of multiple lines in default register. 2 | 3 | call SetRegister('"', "foo\nbar\nb z\n", 'V') 4 | normal gcip 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t1086-gcip-block.vim: -------------------------------------------------------------------------------- 1 | " Test gcip of block in named register. 2 | 3 | call SetRegister('r', "FOO \nB Z \nQUUX ", "\6") 4 | normal "rgcip 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t1210-gbp-uneven.vim: -------------------------------------------------------------------------------- 1 | " Test gbp of uneven-width lines in named register. 2 | 3 | call SetRegister('r', "FOO\nBAAAAR\nBZ\n", 'V') 4 | normal "rgbp 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t3301-gQBp-named.vim: -------------------------------------------------------------------------------- 1 | " Test gQBp of multiple lines in named register. 2 | 3 | call SetRegister('r', "foo\nbar\nb z\n", 'V') 4 | normal "rgQBp 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t3500-gBp-default.vim: -------------------------------------------------------------------------------- 1 | " Test gBp of a word in the default register without unjoin. 2 | 3 | call SetRegister('"', "foobar", 'v') 4 | normal 1gBp 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t5035-g[[p-expandtab.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | foo 5 | much shorter 6 | shorter 7 | muchlonger 8 | longer 9 | 4 padding text 10 | 5 padding text 11 | -------------------------------------------------------------------------------- /tests/t1011-gcp-indent.vim: -------------------------------------------------------------------------------- 1 | " Test gcp of indented lines in named register. 2 | 3 | call SetRegister('r', "\t foo\n\tbar\n b z\n", 'V') 4 | normal "rgcp 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t1362-gcommaaP-single.vim: -------------------------------------------------------------------------------- 1 | " Test g,aP of a single entry. 2 | " Tests that the "comma and" is placed after the entry. 3 | 4 | call SetRegister('r', "me", 'v') 5 | normal "rg,aP 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t3300-gQBp-default.vim: -------------------------------------------------------------------------------- 1 | " Test gQBp of a word in the default register without unjoin. 2 | 3 | call SetRegister('"', "foobar", 'v') 4 | normal 1gQBp 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t5160-gUp-non-alphabetical.vim: -------------------------------------------------------------------------------- 1 | " Test gUp of only non-alphabetical characters. 2 | 3 | call SetRegister('r', '123 !@#-+ <>;"[]', 'v') 4 | normal "rgUp 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t5170-itilde-default.vim: -------------------------------------------------------------------------------- 1 | " Test CTRL-R ~ of a lowercase word. 2 | 3 | call SetRegister('"', 'foobar', 'v') 4 | execute "normal a<\~\">\" 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t5171-itilde-lines.vim: -------------------------------------------------------------------------------- 1 | " Test CTRL-R ~ of a uppercase lines. 2 | 3 | call SetRegister('r', "[FOO]\n[BAR]\n", 'V') 4 | execute "normal a\~r\" 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t6590-g=p-empty-expression.vim: -------------------------------------------------------------------------------- 1 | " Test g=p with empty expression. 2 | 3 | call SetRegister('"', "foo\nbar\n", 'V') 4 | execute "normal g=p\\" 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t1061-gcgp-indent.vim: -------------------------------------------------------------------------------- 1 | " Test gcgp of indented lines in named register. 2 | 3 | call SetRegister('r', "\t foo\n\tbar\n b z\n", 'V') 4 | normal "rgcgp 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t1081-gcip-indent.vim: -------------------------------------------------------------------------------- 1 | " Test gcip of indented lines in named register. 2 | 3 | call SetRegister('r', "\t foo\n\tbar\n b z\n", 'V') 4 | normal "rgcip 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t1361-gcommaap-single.vim: -------------------------------------------------------------------------------- 1 | " Test g,ap of a single entry. 2 | " Tests that the "comma and" is placed in front of the entry. 3 | 4 | call SetRegister('r', "me", 'v') 5 | normal "rg,ap 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t1800-gpp-behind.vim: -------------------------------------------------------------------------------- 1 | " Test gpp of number behind cursor in named register. 2 | 3 | call SetRegister('r', "42 of 99 have $111.\n", 'V') 4 | normal "rgpp 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t1803-gpp-first.vim: -------------------------------------------------------------------------------- 1 | " Test gpp of number with cursor behind all numbers. 2 | 3 | call SetRegister('r', "42 of 99 have $111.\n", 'V') 4 | normal r.^r|"rgpp 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t1850-gpP-behind.vim: -------------------------------------------------------------------------------- 1 | " Test gpP of number behind cursor in named register. 2 | 3 | call SetRegister('r', "42 of 99 have $111.\n", 'V') 4 | normal "rgpP 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t6000-gRp-lines.vim: -------------------------------------------------------------------------------- 1 | " Test gRp of lines in named register. 2 | 3 | call SetRegister('r', "\n\t foo \n\n\n\tbar \n b z \t \n\n", 'V') 4 | normal "rgRp 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t6740-gbslash-choice.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (main("f/X/X", 'b\a\r', "rXck'n'rXll")main(\"f/o/o\", \'b\a\r\', \"rock\'n\'roll\")|) here 4 | oO[main("f/X/X", 'b\a\r', "rXck'n'rXll")]Oo4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t3260-gsp-linewise-borders.vim: -------------------------------------------------------------------------------- 1 | " Test gsp of a line at line borders. 2 | 3 | call SetRegister('"', "FOO\n", 'V') 4 | 2normal 0gsP 5 | 4normal $gsp 6 | call VerifyRegister() 7 | 8 | call vimtest#SaveOut() 9 | call vimtest#Quit() 10 | -------------------------------------------------------------------------------- /tests/t3270-gsp-characterwise-spaces.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we FOO (|) here 4 | we ( FOO |) here 5 | we (|) FOO here 6 | we (| FOO ) here 7 | we FOO |) here 8 | we FOO |) here 9 | 4 padding text 10 | 5 padding text 11 | -------------------------------------------------------------------------------- /tests/t3370-gQBp-characterwise-separator.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we FOO (|) here 4 | we ( FOO |) here 5 | we (|) FOO here 6 | we (| FOO ) here 7 | we FOO |) here 8 | we FOO |) here 9 | 4 padding text 10 | 5 padding text 11 | -------------------------------------------------------------------------------- /tests/t6200-gR!p-lines.vim: -------------------------------------------------------------------------------- 1 | " Test gR!p of lines in named register. 2 | 3 | call SetRegister('r', "\n\t foo \n\n\n\tbar \n b z \t \n\n", 'V') 4 | normal "rgR!p 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t6760-gbslash-count-choice.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (main("f/X/X", 'b\a\r', "rXck'n'rXll")|main(\"f/o/o\", \'b\a\r\', \"rock\'n\'roll\")) here 4 | oO[main("f/X/X", 'b\a\r', "rXck'n'rXll")]Oo4 padding text 5 | 5 padding text 6 | -------------------------------------------------------------------------------- /tests/t1012-gcp-trailing.vim: -------------------------------------------------------------------------------- 1 | " Test gcp of lines with trailing whitespace in named register. 2 | 3 | call SetRegister('r', "foo \nbar \nb z \t \n", 'V') 4 | normal "rgcp 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t1600-gUJp-whitespace.vim: -------------------------------------------------------------------------------- 1 | " Test gUJp of whitespace-separated text in named register. 2 | 3 | call SetRegister('r', "FOO BAR\tBAZ\t QUUX", 'v') 4 | normal "rgUJp 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t1801-gpp-on-last-digit.vim: -------------------------------------------------------------------------------- 1 | " Test gpp of number with cursor on its last digit. 2 | 3 | call SetRegister('r', "42 of 99 have $111.\n", 'V') 4 | normal r.3lr|"rgpp 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t1805-gpp-second-line.vim: -------------------------------------------------------------------------------- 1 | " Test gpp of number behind cursor in the second line. 2 | 3 | call SetRegister('r', "{\n 42 of 99 have $111.\n}\n", 'V') 4 | normal "rgpp 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t3150-gHashp-error.vim: -------------------------------------------------------------------------------- 1 | " Test g#p with empty commentstring. 2 | 3 | set commentstring= 4 | call SetRegister('r', "foo\nbar\nb z\n", 'V') 5 | normal "rg#p 6 | call VerifyRegister() 7 | 8 | call vimtest#SaveOut() 9 | call vimtest#Quit() 10 | -------------------------------------------------------------------------------- /tests/t3261-gsp-linewise-borders.vim: -------------------------------------------------------------------------------- 1 | " Test opposite gsp of a line at line borders. 2 | 3 | call SetRegister('"', "FOO\n", 'V') 4 | 2normal 0gsp 5 | 4normal $gsP 6 | call VerifyRegister() 7 | 8 | call vimtest#SaveOut() 9 | call vimtest#Quit() 10 | -------------------------------------------------------------------------------- /tests/t3262-gSp-linewise-borders.vim: -------------------------------------------------------------------------------- 1 | " Test gSp of a line at buffer borders. 2 | 3 | call SetRegister('"', "FOO\n", 'V') 4 | normal gg0wgSP 5 | normal G0wgSp 6 | call VerifyRegister() 7 | 8 | call vimtest#SaveOut() 9 | call vimtest#Quit() 10 | -------------------------------------------------------------------------------- /tests/t3283-gSp-single-line.vim: -------------------------------------------------------------------------------- 1 | " Test gSp on a single line in the buffer. 2 | 3 | call SetRegister('r', "foo\n", 'V') 4 | 2,$delete _ 5 | 1normal "rgSp 6 | 7 | call VerifyRegister() 8 | 9 | call vimtest#SaveOut() 10 | call vimtest#Quit() 11 | -------------------------------------------------------------------------------- /tests/t3284-gSP-single-line.vim: -------------------------------------------------------------------------------- 1 | " Test gSP on a single line in the buffer. 2 | 3 | call SetRegister('r', "foo\n", 'V') 4 | 2,$delete _ 5 | 1normal "rgSP 6 | 7 | call VerifyRegister() 8 | 9 | call vimtest#SaveOut() 10 | call vimtest#Quit() 11 | -------------------------------------------------------------------------------- /tests/t3400-gqbp-default.vim: -------------------------------------------------------------------------------- 1 | " Test gqbp of a word in the default register without unjoin. 2 | 3 | call SetRegister('"', "foobar", 'v') 4 | execute "normal 1gqbp+-+\" 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t6501-g=p-recall.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | HI 4 | BO 5 | BEER 6 | WHO 7 | we (|) here 8 | INT MAIN(INT ARGC, CHAR[] ARGV) 9 | 10 | VOID FOO(CHAR C, INT N) 11 | VOID FINALIZE() 12 | 4 padding text 13 | 5 padding text 14 | -------------------------------------------------------------------------------- /tests/t6700-gbslash-default.vim: -------------------------------------------------------------------------------- 1 | " Test g\p of words with single default. 2 | 3 | call SetRegister('"', "main(\"f/o/o\", 'b\\a\\r', \"rock'n'roll\")", 'v') 4 | normal g\p 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t1062-gcgp-trailing.vim: -------------------------------------------------------------------------------- 1 | " Test gcgp of lines with trailing whitespace in named register. 2 | 3 | call SetRegister('r', "foo \nbar \nb z \t \n", 'V') 4 | normal "rgcgp 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t1082-gcip-trailing.vim: -------------------------------------------------------------------------------- 1 | " Test gcip of lines with trailing whitespace in named register. 2 | 3 | call SetRegister('r', "foo \nbar \nb z \t \n", 'V') 4 | normal "rgcip 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t1360-gcommaap.vim: -------------------------------------------------------------------------------- 1 | " Test g,ap of lines. 2 | 3 | call SetRegister('r', "foo\n\tbar \nquux\n", 'V') 4 | call SetRegister('"', "this\nthat\n", 'V') 5 | normal "rg,ap 6 | normal `[h2g,aP 7 | 8 | call vimtest#SaveOut() 9 | call vimtest#Quit() 10 | -------------------------------------------------------------------------------- /tests/t1369-gcommaap-no-serial.vim: -------------------------------------------------------------------------------- 1 | " Test g,ap of lines with no serial comma. 2 | 3 | let g:UnconditionalPaste_IsSerialComma = 0 4 | call SetRegister('r', "foo\n\tbar \nquux\n", 'V') 5 | normal "rg,ap 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t1601-gUJp-ws-around.vim: -------------------------------------------------------------------------------- 1 | " Test gUJp of whitespace-around and -separated text. 2 | 3 | call SetRegister('r', "\t FOO\nBAR \t \n BAZ\t \n", 'V') 4 | normal "rgUJp 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t1802-gpp-behind-last-digit.vim: -------------------------------------------------------------------------------- 1 | " Test gpp of number with cursor behind its last digit. 2 | 3 | call SetRegister('r', "42 of 99 have $111.\n", 'V') 4 | normal r.4lr|"rgpp 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t3100-gHashp-default.vim: -------------------------------------------------------------------------------- 1 | " Test g#p of a word in the default register. 2 | 3 | set commentstring=/*\ %s\ */ 4 | call SetRegister('"', "foo", 'v') 5 | normal g#p 6 | call VerifyRegister() 7 | 8 | call vimtest#SaveOut() 9 | call vimtest#Quit() 10 | -------------------------------------------------------------------------------- /tests/t3263-gSp-linewise-borders.vim: -------------------------------------------------------------------------------- 1 | " Test opposite gSp of a line at buffer borders. 2 | 3 | call SetRegister('"', "FOO\n", 'V') 4 | normal gg0wgSp 5 | normal G0wgSP 6 | call VerifyRegister() 7 | 8 | call vimtest#SaveOut() 9 | call vimtest#Quit() 10 | -------------------------------------------------------------------------------- /tests/t3285-gSp-empty-buffer.vim: -------------------------------------------------------------------------------- 1 | " Test gSp on an empty line in an empty buffer. 2 | 3 | call SetRegister('r', "foo\n", 'V') 4 | %delete _ 5 | 1normal "rgSp 6 | 7 | call VerifyRegister() 8 | 9 | call vimtest#SaveOut() 10 | call vimtest#Quit() 11 | -------------------------------------------------------------------------------- /tests/t3286-gSP-empty-buffer.vim: -------------------------------------------------------------------------------- 1 | " Test gSP on an empty line in an empty buffer. 2 | 3 | call SetRegister('r', "foo\n", 'V') 4 | %delete _ 5 | 1normal "rgSP 6 | 7 | call VerifyRegister() 8 | 9 | call vimtest#SaveOut() 10 | call vimtest#Quit() 11 | -------------------------------------------------------------------------------- /tests/t5172-itilde-non-alphabetical.vim: -------------------------------------------------------------------------------- 1 | " Test CTRL-R ~ of a non-alphabetical characters. 2 | 3 | call SetRegister('r', "%&*#", "\4") 4 | execute "normal a\~r\" 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t1700-gujp-queried.vim: -------------------------------------------------------------------------------- 1 | " Test gujp on queried pattern of text in named register. 2 | 3 | call SetRegister('r', "FOO BAR\tBAZ\t QUUX", 'v') 4 | execute "normal \"rgujpA\" 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t2001-ic-named.vim: -------------------------------------------------------------------------------- 1 | " Test CTRL-R CTRL-C of multiple lines in named register. 2 | 3 | call SetRegister('r', "foo\nbar\nb z\n", 'V') 4 | execute "normal a<\\r>\" 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t2101-ii-named.vim: -------------------------------------------------------------------------------- 1 | " Test CTRL-R CTRL-I of multiple lines in named register. 2 | 3 | call SetRegister('r', "foo\nbar\nb z\n", 'V') 4 | execute "normal a<\\r>\" 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t3000-g]p-named.vim: -------------------------------------------------------------------------------- 1 | " Test g]p of words in named register. 2 | 3 | set autoindent 4 | 2,4> 5 | 3> 6 | 7 | call SetRegister('r', "foo bar", 'v') 8 | normal "rg]p 9 | call VerifyRegister() 10 | 11 | call vimtest#SaveOut() 12 | call vimtest#Quit() 13 | -------------------------------------------------------------------------------- /tests/t3001-g]P-named.vim: -------------------------------------------------------------------------------- 1 | " Test g]P of words in named register. 2 | 3 | set autoindent 4 | 2,4> 5 | 3> 6 | 7 | call SetRegister('r', "foo bar", 'v') 8 | normal "rg]P 9 | call VerifyRegister() 10 | 11 | call vimtest#SaveOut() 12 | call vimtest#Quit() 13 | -------------------------------------------------------------------------------- /tests/t3402-gqbp-unjoin.vim: -------------------------------------------------------------------------------- 1 | " Test gqbp of a word in the default register with unjoin. 2 | 3 | call SetRegister('"', "foobar", 'v') 4 | execute "normal gqbp...\\zs\+-+\" 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t3561-gBp-linewise-borders.vim: -------------------------------------------------------------------------------- 1 | " Test opposite gBp of a line at buffer borders. 2 | 3 | call SetRegister('"', "FOO\n", 'V') 4 | normal gg0w1gBp 5 | normal G0w1gBP 6 | call VerifyRegister() 7 | 8 | call vimtest#SaveOut() 9 | call vimtest#Quit() 10 | -------------------------------------------------------------------------------- /tests/t6100-grp-lines.vim: -------------------------------------------------------------------------------- 1 | " Test grp of lines in named register. 2 | 3 | call SetRegister('r', "\n\t foo \n\n\n\tbar \n b z \t \n\n", 'V') 4 | execute "normal \"rgrp\\sb\" 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /UnconditionalPaste.manifest: -------------------------------------------------------------------------------- 1 | autoload/UnconditionalPaste.vim 2 | autoload/UnconditionalPaste/Increment.vim 3 | autoload/UnconditionalPaste/Separators.vim 4 | autoload/UnconditionalPaste/Shifted.vim 5 | plugin/UnconditionalPaste.vim 6 | doc/UnconditionalPaste.txt 7 | -------------------------------------------------------------------------------- /tests/t1351-gcommaquotep-whitespace.vim: -------------------------------------------------------------------------------- 1 | " Test g,"p of lines with empty ones and whitespace. 2 | 3 | call SetRegister('r', " foo\n\n bar \n\nb z\n\n\nend \t \n", 'V') 4 | normal "rg,"p 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t1353-gcommaquotep-whitespace.vim: -------------------------------------------------------------------------------- 1 | " Test g,'P of lines with empty ones and whitespace. 2 | 3 | call SetRegister('r', " foo\n\n bar \n\nb z\n\n\nend \t \n", 'V') 4 | normal "rg,'P 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t1804-gpp-last.vim: -------------------------------------------------------------------------------- 1 | " Test gpp of number with cursor on the last character of the line. 2 | 3 | call SetRegister('r', "42 of 99 in 2000 have $111.\n", 'V') 4 | normal r.$r|"rgpp 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t1806-gpp-third-line.vim: -------------------------------------------------------------------------------- 1 | " Test gpp of number behind cursor in the third line. 2 | 3 | call SetRegister('r', "{ ////\n 1\n 42 of 99 have $111.\n} ////\n", 'V') 4 | normal "rgpp 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t2000-ic-default.vim: -------------------------------------------------------------------------------- 1 | " Test CTRL-R CTRL-C of multiple lines in default register. 2 | 3 | call SetRegister('"', "foo\nbar\nb z\n", 'V') 4 | execute "normal a<\\\">\" 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t2010-ic-block.vim: -------------------------------------------------------------------------------- 1 | " Test CTRL-R CTRL-C of block in named register. 2 | 3 | call SetRegister('r', "FOO \nB Z \nQUUX ", "\6") 4 | execute "normal a<\\r>\" 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t2100-ii-default.vim: -------------------------------------------------------------------------------- 1 | " Test CTRL-R CTRL-I of multiple lines in default register. 2 | 3 | call SetRegister('"', "foo\nbar\nb z\n", 'V') 4 | execute "normal a<\\\">\" 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t2110-ii-block.vim: -------------------------------------------------------------------------------- 1 | " Test CTRL-R CTRL-I of block in named register. 2 | 3 | call SetRegister('r', "FOO \nB Z \nQUUX ", "\6") 4 | execute "normal a<\\r>\" 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t2750-iu-error.vim: -------------------------------------------------------------------------------- 1 | " Test CTRL-R CTRL-U with error in queried pattern. 2 | 3 | call SetRegister('r', "FOO BAR,BAZ,QUUX", 'v') 4 | execute "normal a<\\r,\\(\>\" 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t3101-gHashp-named.vim: -------------------------------------------------------------------------------- 1 | " Test g#p of multiple lines in named register. 2 | 3 | set commentstring=/*%s*/ 4 | call SetRegister('r', "foo\nbar\nb z\n", 'V') 5 | normal "rg#p 6 | call VerifyRegister() 7 | 8 | call vimtest#SaveOut() 9 | call vimtest#Quit() 10 | -------------------------------------------------------------------------------- /tests/t3531-gBp-different-width-linewise.vim: -------------------------------------------------------------------------------- 1 | " Test gBp of a multi-line linewise selection with differing widths. 2 | 3 | call SetRegister('"', "foo\nx\nmuch moar\n", 'V') 4 | normal gBp 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t3560-gBp-linewise-borders.vim: -------------------------------------------------------------------------------- 1 | " Test gBp of a line at buffer borders without unjoin. 2 | 3 | call SetRegister('"', "FOO\n", 'V') 4 | normal gg0w1gBP 5 | normal G0w1gBp 6 | call VerifyRegister() 7 | 8 | call vimtest#SaveOut() 9 | call vimtest#Quit() 10 | -------------------------------------------------------------------------------- /tests/t5000-g]]p-named.vim: -------------------------------------------------------------------------------- 1 | " Test g]]p of words in named register. 2 | 3 | set autoindent 4 | 2,4> 5 | 3> 6 | 7 | call SetRegister('r', "foo bar", 'v') 8 | normal "rg]]p 9 | call VerifyRegister() 10 | 11 | call vimtest#SaveOut() 12 | call vimtest#Quit() 13 | -------------------------------------------------------------------------------- /tests/t5001-g]]P-named.vim: -------------------------------------------------------------------------------- 1 | " Test g]]P of words in named register. 2 | 3 | set autoindent 4 | 2,4> 5 | 3> 6 | 7 | call SetRegister('r', "foo bar", 'v') 8 | normal "rg]]P 9 | call VerifyRegister() 10 | 11 | call vimtest#SaveOut() 12 | call vimtest#Quit() 13 | -------------------------------------------------------------------------------- /tests/t5005-g[[p-named.vim: -------------------------------------------------------------------------------- 1 | " Test g[[p of words in named register. 2 | 3 | set autoindent 4 | 2,4> 5 | 3> 6 | 7 | call SetRegister('r', "foo bar", 'v') 8 | normal "rg[[p 9 | call VerifyRegister() 10 | 11 | call vimtest#SaveOut() 12 | call vimtest#Quit() 13 | -------------------------------------------------------------------------------- /tests/t5006-g[[P-named.vim: -------------------------------------------------------------------------------- 1 | " Test g[[P of words in named register. 2 | 3 | set autoindent 4 | 2,4> 5 | 3> 6 | 7 | call SetRegister('r', "foo bar", 'v') 8 | normal "rg[[P 9 | call VerifyRegister() 10 | 11 | call vimtest#SaveOut() 12 | call vimtest#Quit() 13 | -------------------------------------------------------------------------------- /tests/t5035-g]]p-expandtab.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | foo 5 | much shorter 6 | shorter 7 | muchlonger 8 | longer 9 | 4 padding text 10 | 5 padding text 11 | -------------------------------------------------------------------------------- /tests/t6300-gr!p-lines.vim: -------------------------------------------------------------------------------- 1 | " Test gr!p of lines in named register. 2 | 3 | call SetRegister('r', "\n\t foo \n\n\n\tbar \n b z \t \n\n", 'V') 4 | execute "normal \"rgr!p\\sb\" 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t1070-gCp-default.vim: -------------------------------------------------------------------------------- 1 | " Test gCp of multiple lines in default register. 2 | 3 | call SetRegister('"', "\t \n\nf o o \n\n\tb\ta r \n\n b \t \t z \t \n\n\n", 'V') 4 | normal gCp 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t1830-gpp-no-number.vim: -------------------------------------------------------------------------------- 1 | " Test gpp of text with no number. 2 | " Tests that nothing is pasted. 3 | 4 | call SetRegister('r', "xx of yy have $zzz.\n", 'V') 5 | normal "rgpp 6 | call VerifyRegister() 7 | 8 | call vimtest#SaveOut() 9 | call vimtest#Quit() 10 | -------------------------------------------------------------------------------- /tests/t1910-gPp-multi-line.vim: -------------------------------------------------------------------------------- 1 | " Test gPp of numbers in the second and third lines. 2 | 3 | call SetRegister('r', "{\n 42 of 99 have $111.\n 42 of 99 have $111.\n}\n", 'V') 4 | normal "rgPp 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t2011-ic-indent.vim: -------------------------------------------------------------------------------- 1 | " Test CTRL-R CTRL-C of indented lines in named register. 2 | 3 | call SetRegister('r', "\t foo\n\tbar\n b z\n", 'V') 4 | execute "normal a<\\r>\" 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t2111-ii-indent.vim: -------------------------------------------------------------------------------- 1 | " Test CTRL-R CTRL-I of indented lines in named register. 2 | 3 | call SetRegister('r', "\t foo\n\tbar\n b z\n", 'V') 4 | execute "normal a<\\r>\" 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t3140-gHashp-commentstring.vim: -------------------------------------------------------------------------------- 1 | " Test g#p with non-default commentstring. 2 | 3 | set commentstring=//\ %s 4 | call SetRegister('r', "foo\nbar\nb z\n", 'V') 5 | normal "rg#p 6 | call VerifyRegister() 7 | 8 | call vimtest#SaveOut() 9 | call vimtest#Quit() 10 | -------------------------------------------------------------------------------- /tests/t3285-gSp-within-fold.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | 4 | FOO 5 | 6 | blockA1 7 | blockA2 8 | blockA3 9 | 10 | 11 | FOO 12 | 13 | blockB1 14 | blockB2 15 | blockB3 16 | 17 | FOO 18 | 19 | blockC1 20 | blockC2 21 | 22 | 23 | FOO 24 | 25 | 26 | -------------------------------------------------------------------------------- /tests/t3331-gQBp-different-width-linewise.vim: -------------------------------------------------------------------------------- 1 | " Test gQBp of a multi-line linewise selection with differing widths. 2 | 3 | call SetRegister('"', "foo\nx\nmuch moar\n", 'V') 4 | normal gQBp 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t3360-gQBp-linewise-borders.vim: -------------------------------------------------------------------------------- 1 | " Test gQBp of a line at buffer borders without unjoin. 2 | 3 | call SetRegister('"', "FOO\n", 'V') 4 | normal gg0w1gQBP 5 | normal G0w1gQBp 6 | call VerifyRegister() 7 | 8 | call vimtest#SaveOut() 9 | call vimtest#Quit() 10 | -------------------------------------------------------------------------------- /tests/t3532-gBp-different-width-blockwise.vim: -------------------------------------------------------------------------------- 1 | " Test gBp of a multi-line linewise selection with differing widths. 2 | 3 | call SetRegister('"', "foo\nx\nmuch moar", "\9") 4 | normal gBp 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t1013-gcp-whitespace.vim: -------------------------------------------------------------------------------- 1 | " Test gcp of lines with leading and trailing whitespace in named register. 2 | 3 | call SetRegister('r', "\t foo \n\tbar \n b z \t \n", 'V') 4 | normal "rgcp 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t1014-gcp-empty-lines.vim: -------------------------------------------------------------------------------- 1 | " Test gcp of lines including empty lines in named register. 2 | 3 | call SetRegister('r', "\t \n\nfoo \n\n\tbar \n\n b z \t \n\n\n", 'V') 4 | normal "rgcp 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t1064-gcgp-empty-lines.vim: -------------------------------------------------------------------------------- 1 | " Test gcgp of lines including empty lines in named register. 2 | 3 | call SetRegister('r', "\t \n\nfoo \n\n\tbar \n\n b z \t \n\n\n", 'V') 4 | normal "rgcgp 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t1084-gcip-empty-lines.vim: -------------------------------------------------------------------------------- 1 | " Test gcip of lines including empty lines in named register. 2 | 3 | call SetRegister('r', "\t \n\nfoo \n\n\tbar \n\n b z \t \n\n\n", 'V') 4 | normal "rgcip 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t1331-gcommaP-single.vim: -------------------------------------------------------------------------------- 1 | " Test g,P of a single entry. 2 | " Tests that the comma is placed after the entry. 3 | 4 | call SetRegister('r', "\t foo \n\t", 'v') 5 | normal "rg,P 6 | call VerifyRegister() 7 | 8 | call vimtest#SaveOut() 9 | call vimtest#Quit() 10 | -------------------------------------------------------------------------------- /tests/t1400-gQp-whitespace.vim: -------------------------------------------------------------------------------- 1 | " Test gQp of lines with leading and trailing whitespace in named register. 2 | 3 | call SetRegister('r', "\t foo \n\tbar \n b z \t \n", 'V') 4 | normal "rgQp 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t1430-gQp-single.vim: -------------------------------------------------------------------------------- 1 | " Test gQp of a single entry. 2 | " Tests that the tab is placed in front of the entry. 3 | 4 | call SetRegister('r', "\t foo \n\t", 'v') 5 | normal "rgQp 6 | call VerifyRegister() 7 | 8 | call vimtest#SaveOut() 9 | call vimtest#Quit() 10 | -------------------------------------------------------------------------------- /tests/t1480-gQgp-single.vim: -------------------------------------------------------------------------------- 1 | " Test gQgp of a single entry. 2 | " Tests that the tab is placed in front of the entry. 3 | 4 | call SetRegister('r', "\t foo \n", 'v') 5 | normal "rgQgp 6 | call VerifyRegister() 7 | 8 | call vimtest#SaveOut() 9 | call vimtest#Quit() 10 | -------------------------------------------------------------------------------- /tests/t3332-gQBp-different-width-blockwise.vim: -------------------------------------------------------------------------------- 1 | " Test gQBp of a multi-line linewise selection with differing widths. 2 | 3 | call SetRegister('"', "foo\nx\nmuch moar", "\9") 4 | normal gQBp 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t3380-gQBp-characterwise-separator-count.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we FOO FOO (|) here 4 | we ( FOO FOO |) here 5 | we (|) FOO FOO here 6 | we (| FOO FOO ) here 7 | we FOO FOO |) here 8 | we FOO FOO |) here 9 | 4 padding text 10 | 5 padding text 11 | -------------------------------------------------------------------------------- /tests/t3530-gBp-different-width-characterwise.vim: -------------------------------------------------------------------------------- 1 | " Test gBp of a multi-line characterwise selection with differing widths. 2 | 3 | call SetRegister('"', "foo\nx\nmuch moar", 'v') 4 | normal gBp 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t3625-gGtp-repeat-count.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | FOO 5 | BAR 6 | 7 | MOAR STUFF 8 | 4 padding text 9 | FOO 10 | BAR 11 | 12 | MOAR STUFF 13 | 5 padding text 14 | FOO 15 | BAR 16 | 17 | MOAR STUFF 18 | -------------------------------------------------------------------------------- /tests/t6190-grp-empty-pattern.vim: -------------------------------------------------------------------------------- 1 | " Test grp with empty pattern. 2 | 3 | call SetRegister('"', "\t the quick brown (f_o_x) jumps over the lazy [d_o_g] there", 'v') 4 | execute "normal grp\" 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t1063-gcgp-whitespace.vim: -------------------------------------------------------------------------------- 1 | " Test gcgp of lines with leading and trailing whitespace in named register. 2 | 3 | call SetRegister('r', "\t foo \n\tbar \n b z \t \n", 'V') 4 | normal "rgcgp 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t1083-gcip-whitespace.vim: -------------------------------------------------------------------------------- 1 | " Test gcip of lines with leading and trailing whitespace in named register. 2 | 3 | call SetRegister('r', "\t foo \n\tbar \n b z \t \n", 'V') 4 | normal "rgcip 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t1300-gcommap-whitespace.vim: -------------------------------------------------------------------------------- 1 | " Test g,p of lines with leading and trailing whitespace in named register. 2 | 3 | call SetRegister('r', "\t foo \n\tbar \n b z \t \n", 'V') 4 | normal "rg,p 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t1330-gcommap-single.vim: -------------------------------------------------------------------------------- 1 | " Test g,p of a single entry. 2 | " Tests that the comma is placed in front of the entry. 3 | 4 | call SetRegister('r', "\t foo \n\t", 'v') 5 | normal "rg,p 6 | call VerifyRegister() 7 | 8 | call vimtest#SaveOut() 9 | call vimtest#Quit() 10 | -------------------------------------------------------------------------------- /tests/t1450-gQgp-whitespace.vim: -------------------------------------------------------------------------------- 1 | " Test gQgp of lines with leading and trailing whitespace in named register. 2 | 3 | call SetRegister('r', "\t foo \n\tbar \n b z \t \n", 'V') 4 | normal "rgQgp 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t1555-gqp-prefix.vim: -------------------------------------------------------------------------------- 1 | " Test gqp of lines with input of prefix. 2 | 3 | call SetRegister('r', "\t foo \n\tbar \n b z \t \n", 'V') 4 | execute "normal \"rgqp[[\\, \\\" 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t1556-gqp-suffix.vim: -------------------------------------------------------------------------------- 1 | " Test gqp of lines with input of suffix. 2 | 3 | call SetRegister('r', "\t foo \n\tbar \n b z \t \n", 'V') 4 | execute "normal \"rgqp\\, \\]]\" 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t1841-gpp-repeat-count.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | 42 of 100 have $111. 5 | 42 of 101 have $111. 6 | 42 of 102 have $111. 7 | 42 of 103 have $111. 8 | 42 of 104 have $111. 9 | 42 of 105 have $111. 10 | 4 padding text 11 | 5 padding text 12 | -------------------------------------------------------------------------------- /tests/t3330-gQBp-different-width-characterwise.vim: -------------------------------------------------------------------------------- 1 | " Test gQBp of a multi-line characterwise selection with differing widths. 2 | 3 | call SetRegister('"', "foo\nx\nmuch moar", 'v') 4 | normal gQBp 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t3361-gQBp-linewise-borders.vim: -------------------------------------------------------------------------------- 1 | " Test opposite gQBp of a line at buffer borders without unjoin. 2 | 3 | call SetRegister('"', "FOO\n", 'V') 4 | normal gg0w1gQBp 5 | normal G0w1gQBP 6 | call VerifyRegister() 7 | 8 | call vimtest#SaveOut() 9 | call vimtest#Quit() 10 | -------------------------------------------------------------------------------- /tests/t3440-gqbp-repeat.vim: -------------------------------------------------------------------------------- 1 | " Test repeat of gqbp without unjoin. 2 | 3 | call SetRegister('r', "foobar", 'v') 4 | execute "normal \"r1gqbp+-+\" 5 | call VerifyRegister() 6 | normal hj. 7 | call VerifyRegister() 8 | 9 | call vimtest#SaveOut() 10 | call vimtest#Quit() 11 | -------------------------------------------------------------------------------- /tests/t3595-gBp-at-end-of-line.vim: -------------------------------------------------------------------------------- 1 | " Test gBp at the end of the line. 2 | 3 | set autoindent 4 | 3,5> 5 | 4> 6 | call SetRegister('"', "FOO\nBAR\nBAZ\n", 'V') 7 | 8 | 3normal $gBp 9 | 10 | call VerifyRegister() 11 | 12 | call vimtest#SaveOut() 13 | call vimtest#Quit() 14 | -------------------------------------------------------------------------------- /tests/t3610-gGtp-single-line.vim: -------------------------------------------------------------------------------- 1 | " Test g>p of a single lines in the default register. 2 | 3 | set autoindent 4 | 2,4> 5 | 3> 6 | 7 | call SetRegister('"', "FOO\n", 'V') 8 | normal g>p 9 | call VerifyRegister() 10 | 11 | call vimtest#SaveOut() 12 | call vimtest#Quit() 13 | -------------------------------------------------------------------------------- /tests/t3630-gGtp-characterwise-word.vim: -------------------------------------------------------------------------------- 1 | " Test g>p of a word in the default register. 2 | 3 | set autoindent 4 | 2,4> 5 | 3> 6 | 7 | call SetRegister('"', "foobar", 'v') 8 | normal g>p 9 | call VerifyRegister() 10 | 11 | call vimtest#SaveOut() 12 | call vimtest#Quit() 13 | -------------------------------------------------------------------------------- /tests/t6010-gRp-custom.vim: -------------------------------------------------------------------------------- 1 | " Test gRp with a custom pattern. 2 | 3 | let g:UnconditionalPaste_GrepPattern = '^b' 4 | call SetRegister('r', "foo\nbar\nbaz\n bulli\n", 'V') 5 | normal "rgRp 6 | call VerifyRegister() 7 | 8 | call vimtest#SaveOut() 9 | call vimtest#Quit() 10 | -------------------------------------------------------------------------------- /tests/t6390-gr!p-empty-pattern.vim: -------------------------------------------------------------------------------- 1 | " Test gr!p with empty pattern. 2 | 3 | call SetRegister('"', "\t the quick brown (f_o_x) jumps over the lazy [d_o_g] there", 'v') 4 | execute "normal gr!p\" 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t6400-g==p-lines.vim: -------------------------------------------------------------------------------- 1 | " Test g==p of lines in named register. 2 | 3 | call SetRegister('r', "int main(int argc, char[] argv)\n\nvoid foo(char c, int n)\nvoid finalize()\n", 'V') 4 | normal "rg==p 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t1040-gcp-repeat.vim: -------------------------------------------------------------------------------- 1 | " Test repeat of gcp of multiple lines in named register. 2 | 3 | call SetRegister('r', "foo\nbar\nb z\n", 'V') 4 | normal "rgcp 5 | call VerifyRegister() 6 | normal .. 7 | call VerifyRegister() 8 | 9 | call vimtest#SaveOut() 10 | call vimtest#Quit() 11 | -------------------------------------------------------------------------------- /tests/t1364-gcommanP-single.vim: -------------------------------------------------------------------------------- 1 | " Test g,nP of a single entry. 2 | " Tests that the "comma nor" is placed after the entry, and the "neither" is 3 | " prepended. 4 | 5 | call SetRegister('r', "me", 'v') 6 | normal "rg,nP 7 | 8 | call vimtest#SaveOut() 9 | call vimtest#Quit() 10 | -------------------------------------------------------------------------------- /tests/t1540-gqp-repeat.vim: -------------------------------------------------------------------------------- 1 | " Test repeat of gqp. 2 | 3 | call SetRegister('r', "\t foo \n\tbar \n b z \t \n", 'V') 4 | execute "normal \"rgqp+-+\" 5 | call VerifyRegister() 6 | normal . 7 | call VerifyRegister() 8 | 9 | call vimtest#SaveOut() 10 | call vimtest#Quit() 11 | -------------------------------------------------------------------------------- /tests/t1702-gujp-repeat.vim: -------------------------------------------------------------------------------- 1 | " Test repeat of gujp. 2 | 3 | call SetRegister('r', "FOO BAR\tBAZ\t QUUX", 'v') 4 | execute "normal \"rgujp[AQ]\" 5 | call VerifyRegister() 6 | 7 | normal 2G. 8 | call VerifyRegister() 9 | 10 | call vimtest#SaveOut() 11 | call vimtest#Quit() 12 | -------------------------------------------------------------------------------- /tests/t1807-gpp-multi-line.vim: -------------------------------------------------------------------------------- 1 | " Test gpp of number behind cursor in the second and third lines. 2 | 3 | call SetRegister('r', "{\n 42 of 99 have $111.\n 42 of 99 have $111.\n}\n", 'V') 4 | normal "rgpp 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t2040-ic-repeat.vim: -------------------------------------------------------------------------------- 1 | " Test repeat of CTRL-R CTRL-C. 2 | 3 | call SetRegister('r', "foo\nbar\nb z\n", 'V') 4 | execute "normal a<\\r>\" 5 | call VerifyRegister() 6 | normal . 7 | call VerifyRegister() 8 | 9 | call vimtest#SaveOut() 10 | call vimtest#Quit() 11 | -------------------------------------------------------------------------------- /tests/t2140-ii-repeat.vim: -------------------------------------------------------------------------------- 1 | " Test repeat of CTRL-R CTRL-I. 2 | 3 | call SetRegister('r', "foo\nbar\nb z\n", 'V') 4 | execute "normal a<\\r>\" 5 | call VerifyRegister() 6 | normal . 7 | call VerifyRegister() 8 | 9 | call vimtest#SaveOut() 10 | call vimtest#Quit() 11 | -------------------------------------------------------------------------------- /tests/t2700-iu-queried.vim: -------------------------------------------------------------------------------- 1 | " Test CTRL-R CTRL-U on queried pattern of text in named register. 2 | 3 | call SetRegister('r', "FOO BAR\tBAZ\t QUUX", 'v') 4 | execute "normal a<\\rA\>\" 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t3395-gQBp-at-end-of-line.vim: -------------------------------------------------------------------------------- 1 | " Test gQBp at the end of the line. 2 | 3 | set autoindent 4 | 3,5> 5 | 4> 6 | call SetRegister('"', "FOO\nBAR\nBAZ\n", 'V') 7 | 8 | 3normal $gQBp 9 | 10 | call VerifyRegister() 11 | 12 | call vimtest#SaveOut() 13 | call vimtest#Quit() 14 | -------------------------------------------------------------------------------- /tests/t3552-gBp-characterwise-borders.vim: -------------------------------------------------------------------------------- 1 | " Test gBp of a word in empty line without unjoin. 2 | 3 | normal! yyp0Dk0D 4 | call SetRegister('"', "FOO", 'v') 5 | normal 1gBp 6 | normal j1gBP 7 | 8 | call VerifyRegister() 9 | 10 | call vimtest#SaveOut() 11 | call vimtest#Quit() 12 | -------------------------------------------------------------------------------- /tests/t3600-gGtp-named-lines.vim: -------------------------------------------------------------------------------- 1 | " Test g>p of lines in named register. 2 | 3 | set autoindent 4 | 2,4> 5 | 3> 6 | 7 | call SetRegister('r', "FOO\n\tBAR\n\nMOAR STUFF\n", 'V') 8 | normal "rg>p 9 | call VerifyRegister() 10 | 11 | call vimtest#SaveOut() 12 | call vimtest#Quit() 13 | -------------------------------------------------------------------------------- /tests/t3601-gGtP-named-lines.vim: -------------------------------------------------------------------------------- 1 | " Test g>P of lines in named register. 2 | 3 | set autoindent 4 | 2,4> 5 | 3> 6 | 7 | call SetRegister('r', "FOO\n\tBAR\n\nMOAR STUFF\n", 'V') 8 | normal "rg>P 9 | call VerifyRegister() 10 | 11 | call vimtest#SaveOut() 12 | call vimtest#Quit() 13 | -------------------------------------------------------------------------------- /tests/t3655-gGtp-expandtab.vim: -------------------------------------------------------------------------------- 1 | " Test g>p with expandtab. 2 | 3 | set ts=8 sts=4 et sw=4 autoindent 4 | 2,4> 5 | 3> 6 | 7 | call SetRegister('"', "FOO\nX\nMUCH MOAR", "\9") 8 | normal g>p 9 | call VerifyRegister() 10 | 11 | call vimtest#SaveOut() 12 | call vimtest#Quit() 13 | -------------------------------------------------------------------------------- /tests/t6130-grp-characterwise.vim: -------------------------------------------------------------------------------- 1 | " Test grp of characterwise multi-line yank. 2 | 3 | call SetRegister('"', "the quick\nbrown fox\n\n\njumps over\nthe lazy\n\n\ndog", 'v') 4 | execute "normal grpo\" 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t1363-gcommanp-single.vim: -------------------------------------------------------------------------------- 1 | " Test g,np of a single entry. 2 | " Tests that the "comma nor" is placed in front of the entry, and the "neither" 3 | " is omitted. 4 | 5 | call SetRegister('r', "me", 'v') 6 | normal "rg,np 7 | 8 | call vimtest#SaveOut() 9 | call vimtest#Quit() 10 | -------------------------------------------------------------------------------- /tests/t1630-gUJp-no-separator.vim: -------------------------------------------------------------------------------- 1 | " Test gUJp of text with no whitespace in named register. 2 | " Tests that nothing is pasted. 3 | 4 | call SetRegister('r', "FOO-BAR-BAZ-QUUX", 'v') 5 | normal "rgUJp 6 | call VerifyRegister() 7 | 8 | call vimtest#SaveOut() 9 | call vimtest#Quit() 10 | -------------------------------------------------------------------------------- /tests/t2012-ic-trailing.vim: -------------------------------------------------------------------------------- 1 | " Test CTRL-R CTRL-C of lines with trailing whitespace in named register. 2 | 3 | call SetRegister('r', "foo \nbar \nb z \t \n", 'V') 4 | execute "normal a<\\r>\" 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t2112-ii-trailing.vim: -------------------------------------------------------------------------------- 1 | " Test CTRL-R CTRL-I of lines with trailing whitespace in named register. 2 | 3 | call SetRegister('r', "foo \nbar \nb z \t \n", 'V') 4 | execute "normal a<\\r>\" 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t3390-gQBP-on-last-indent.vim: -------------------------------------------------------------------------------- 1 | " Test gQBP after the last indent of a line. 2 | 3 | set autoindent 4 | 3,5> 5 | 4> 6 | call SetRegister('"', "FOO\nBAR\nBAZ\n", 'V') 7 | 8 | 3normal ^gQBP 9 | 10 | call VerifyRegister() 11 | 12 | call vimtest#SaveOut() 13 | call vimtest#Quit() 14 | -------------------------------------------------------------------------------- /tests/t3402-gqbp-repeat.vim: -------------------------------------------------------------------------------- 1 | " Test repeat of gqbp without unjoin. 2 | 3 | call SetRegister('r', "foobar", 'v') 4 | execute "normal \"r1gqbp+-+\" 5 | call VerifyRegister() 6 | 7 | normal `[2h. 8 | call VerifyRegister() 9 | 10 | call vimtest#SaveOut() 11 | call vimtest#Quit() 12 | -------------------------------------------------------------------------------- /tests/t3590-gBP-on-last-indent.vim: -------------------------------------------------------------------------------- 1 | " Test gBP after the last indent of a line. 2 | 3 | set autoindent 4 | 3,5> 5 | 4> 6 | call SetRegister('"', "FOO\nBAR\nBAZ\n", 'V') 7 | 8 | 3normal ^gBP 9 | 10 | call VerifyRegister() 11 | 12 | call vimtest#SaveOut() 13 | call vimtest#Quit() 14 | -------------------------------------------------------------------------------- /tests/t3640-gGtp-blockwise.vim: -------------------------------------------------------------------------------- 1 | " Test g>p of a block in the default register. 2 | 3 | set autoindent 4 | 2,4> 5 | 3> 6 | 7 | call SetRegister('"', "FOO\nX\nMUCH MOAR", "\9") 8 | normal g>p 9 | call VerifyRegister() 10 | 11 | call vimtest#SaveOut() 12 | call vimtest#Quit() 13 | -------------------------------------------------------------------------------- /tests/t3670-gGtP-blockwise.vim: -------------------------------------------------------------------------------- 1 | " Test g>P of a block in the default register. 2 | 3 | set autoindent 4 | 2,4> 5 | 3> 6 | 7 | call SetRegister('"', "FOO\nX\nMUCH MOAR", "\9") 8 | normal g>P 9 | call VerifyRegister() 10 | 11 | call vimtest#SaveOut() 12 | call vimtest#Quit() 13 | -------------------------------------------------------------------------------- /tests/t6210-gR!p-custom.vim: -------------------------------------------------------------------------------- 1 | " Test gR!p with a custom pattern. 2 | 3 | let g:UnconditionalPaste_InvertedGrepPattern = '^b' 4 | call SetRegister('r', "foo\nbar\nbaz\n bulli\n", 'V') 5 | normal "rgR!p 6 | call VerifyRegister() 7 | 8 | call vimtest#SaveOut() 9 | call vimtest#Quit() 10 | -------------------------------------------------------------------------------- /tests/t6330-gr!p-characterwise.vim: -------------------------------------------------------------------------------- 1 | " Test gr!p of characterwise multi-line yank. 2 | 3 | call SetRegister('"', "the quick\nbrown fox\n\n\njumps over\nthe lazy\n\n\ndog", 'v') 4 | execute "normal gr!po\\|^$\" 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t1500-gqp-whitespace.vim: -------------------------------------------------------------------------------- 1 | " Test gqp of lines with leading and trailing whitespace in named register. 2 | 3 | call SetRegister('r', "\t foo \n\tbar \n b z \t \n", 'V') 4 | execute "normal \"rgqp+-+\" 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t1502-gqp-repeat.vim: -------------------------------------------------------------------------------- 1 | " Test repeat of gqp. 2 | 3 | call SetRegister('r', "\t foo \n\tbar \n b z \t \n", 'V') 4 | execute "normal \"rgqp+-+\" 5 | call VerifyRegister() 6 | 7 | normal `[2h. 8 | call VerifyRegister() 9 | 10 | call vimtest#SaveOut() 11 | call vimtest#Quit() 12 | -------------------------------------------------------------------------------- /tests/t1552-gqp-prefix-suffix-single.vim: -------------------------------------------------------------------------------- 1 | " Test gqp of single entry with input of prefix and suffix. 2 | 3 | call SetRegister('r', "\t foo \n\t", 'v') 4 | execute "normal \"rgqp[\\, \\]\" 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t2600-iuu-whitespace.vim: -------------------------------------------------------------------------------- 1 | " Test CTRL-R CTRL-U CTRL-U of whitespace-separated text in named register. 2 | 3 | call SetRegister('r', "FOO BAR\tBAZ\t QUUX", 'v') 4 | execute "normal a<\\\r>\" 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t3442-gqbp-unjoin-repeat.vim: -------------------------------------------------------------------------------- 1 | " Test repeat of gqbp with unjoin. 2 | 3 | call SetRegister('r', "foobar", 'v') 4 | execute "normal \"rgqbp...\\zs\+-+\" 5 | call VerifyRegister() 6 | normal 2j. 7 | call VerifyRegister() 8 | 9 | call vimtest#SaveOut() 10 | call vimtest#Quit() 11 | -------------------------------------------------------------------------------- /tests/t3650-gGtp-softtabstop.vim: -------------------------------------------------------------------------------- 1 | " Test g>p with softtabstop. 2 | 3 | set ts=8 sts=4 noet sw=4 autoindent 4 | 2,4> 5 | 3> 6 | 7 | call SetRegister('"', "FOO\nX\nMUCH MOAR", "\9") 8 | normal g>p 9 | call VerifyRegister() 10 | 11 | call vimtest#SaveOut() 12 | call vimtest#Quit() 13 | -------------------------------------------------------------------------------- /tests/t3660-gGtP-characterwise-word.vim: -------------------------------------------------------------------------------- 1 | " Test g>P of a word in the default register. 2 | 3 | set autoindent 4 | 2,4> 5 | 3> 6 | 7 | call SetRegister('"', "foobar", 'v') 8 | 1normal g>P 9 | 3normal g>P 10 | call VerifyRegister() 11 | 12 | call vimtest#SaveOut() 13 | call vimtest#Quit() 14 | -------------------------------------------------------------------------------- /tests/t6600-gbslashbslashp-lines.vim: -------------------------------------------------------------------------------- 1 | " Test g\\p of lines in named register. 2 | 3 | call SetRegister('r', "main(\"f/o/o\", 'b\\a\\r', \"rock'n'roll\")\n\nCan ...\\foo\\bar\\... be done?\n", 'V') 4 | normal "rg\\p 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t1550-gqp-prefix-suffix.vim: -------------------------------------------------------------------------------- 1 | " Test gqp of lines with input of prefix and suffix. 2 | 3 | call SetRegister('r', "\t foo \n\tbar \n b z \t \n", 'V') 4 | execute "normal \"rgqp[\\, \\]\" 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t1590-gqgp-whitespace.vim: -------------------------------------------------------------------------------- 1 | " Test gqgp of lines with leading and trailing whitespace in named register. 2 | 3 | call SetRegister('r', "\t foo \n\tbar \n b z \t \n", 'V') 4 | execute "normal \"rgqgp+-+\" 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t1840-gpp-repeat.vim: -------------------------------------------------------------------------------- 1 | " Test repeat of gpp. 2 | 3 | call SetRegister('r', "42 of 99 have $111.\n", 'V') 4 | normal "rgpp 5 | call VerifyRegister() 6 | normal .. 7 | call VerifyRegister() 8 | normal "rgpp 9 | call VerifyRegister() 10 | 11 | call vimtest#SaveOut() 12 | call vimtest#Quit() 13 | -------------------------------------------------------------------------------- /tests/t1890-gpP-repeat.vim: -------------------------------------------------------------------------------- 1 | " Test repeat of gpP. 2 | 3 | call SetRegister('r', "42 of 99 have $111.\n", 'V') 4 | normal "rgpP 5 | call VerifyRegister() 6 | normal .. 7 | call VerifyRegister() 8 | normal "rgpP 9 | call VerifyRegister() 10 | 11 | call vimtest#SaveOut() 12 | call vimtest#Quit() 13 | -------------------------------------------------------------------------------- /tests/t1940-gPp-repeat.vim: -------------------------------------------------------------------------------- 1 | " Test repeat of gPp. 2 | 3 | call SetRegister('r', "42 of 99 have $111.\n", 'V') 4 | normal "rgPp 5 | call VerifyRegister() 6 | normal .. 7 | call VerifyRegister() 8 | normal "rgPp 9 | call VerifyRegister() 10 | 11 | call vimtest#SaveOut() 12 | call vimtest#Quit() 13 | -------------------------------------------------------------------------------- /tests/t2740-iu-repeat.vim: -------------------------------------------------------------------------------- 1 | " Test repeat of CTRL-R CTRL-U. 2 | 3 | call SetRegister('r', "FOO BAR\tBAZ\t QUUX", 'v') 4 | execute "normal a<\\rA\>\" 5 | call VerifyRegister() 6 | normal . 7 | call VerifyRegister() 8 | 9 | call vimtest#SaveOut() 10 | call vimtest#Quit() 11 | -------------------------------------------------------------------------------- /tests/t3302-gQBp-unjoin.vim: -------------------------------------------------------------------------------- 1 | " Test gQBp of a word in the default register with unjoin. 2 | 3 | let g:UnconditionalPaste_UnjoinSeparatorPattern = '...\zs' 4 | call SetRegister('"', "foobar", 'v') 5 | normal gQBp 6 | call VerifyRegister() 7 | 8 | call vimtest#SaveOut() 9 | call vimtest#Quit() 10 | -------------------------------------------------------------------------------- /tests/t6320-gr!p-words.vim: -------------------------------------------------------------------------------- 1 | " Test gr!p of WORDs in default register. 2 | 3 | call SetRegister('"', "\t the quick brown (f_o_x) jumps over the lazy [d_o_g] there", 'v') 4 | execute "normal gr!p \^\\S\\{5}$\" 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t1368-gcommanp-single-count.vim: -------------------------------------------------------------------------------- 1 | " Test g,np of a single entry with count. 2 | " Tests that the "comma nor" is placed in front of the entry, and the "neither" 3 | " is omitted. 4 | 5 | call SetRegister('r', "me", 'v') 6 | normal "r3g,np 7 | 8 | call vimtest#SaveOut() 9 | call vimtest#Quit() 10 | -------------------------------------------------------------------------------- /tests/t1558-gqp-newline.vim: -------------------------------------------------------------------------------- 1 | " Test gqp of lines with input of separator that includes one newline character. 2 | 3 | call SetRegister('r', "\t foo \n\tbar \n b z \t \n", 'V') 4 | execute "normal \"rgqp]\\[\" 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t2300-icomma-whitespace.vim: -------------------------------------------------------------------------------- 1 | " Test CTRL-R , of lines with leading and trailing whitespace in named register. 2 | 3 | call SetRegister('r', "\t foo \n\tbar \n b z \t \n", 'V') 4 | execute "normal a<\,r>\" 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t3641-gGtp-blockwise.vim: -------------------------------------------------------------------------------- 1 | " Test g>p of a block to longer subsequent lines. 2 | 3 | set autoindent 4 | 2,4> 5 | 4> 6 | 4> 7 | 3> 8 | 9 | call SetRegister('"', "FOO\nX\nMUCH MOAR", "\9") 10 | normal g>p 11 | call VerifyRegister() 12 | 13 | call vimtest#SaveOut() 14 | call vimtest#Quit() 15 | -------------------------------------------------------------------------------- /tests/t3685-gGtP-expandtab.vim: -------------------------------------------------------------------------------- 1 | " Test g>P with expandtab. 2 | 3 | set ts=8 sts=4 et sw=4 autoindent 4 | 4,5s/text/\t&/ 5 | 2,4> 6 | 3> 7 | 8 | call SetRegister('"', "FOO\nX\nMUCH MOAR", "\9") 9 | normal g>P 10 | call VerifyRegister() 11 | 12 | call vimtest#SaveOut() 13 | call vimtest#Quit() 14 | -------------------------------------------------------------------------------- /tests/t4330-ccomma-single.vim: -------------------------------------------------------------------------------- 1 | " Test CTRL-R , of a single entry. 2 | 3 | call SetRegister('r', "\t foo \n\t", 'v') 4 | execute "normal :let @a = '\,r'\" 5 | call vimtest#StartTap() 6 | call vimtap#Plan(1) 7 | call vimtap#Is(@a, 'foo', 'pasted register') 8 | 9 | call vimtest#Quit() 10 | -------------------------------------------------------------------------------- /tests/t6102-grp-repeat.vim: -------------------------------------------------------------------------------- 1 | " Test repeat of grp. 2 | 3 | call SetRegister('r', "\n\t foo \n\n\n\tbar \n b z \t \n\n", 'V') 4 | execute "normal \"rgrp\\sb\" 5 | call VerifyRegister() 6 | 7 | 2normal . 8 | call VerifyRegister() 9 | 10 | call vimtest#SaveOut() 11 | call vimtest#Quit() 12 | -------------------------------------------------------------------------------- /tests/t6302-gr!p-repeat.vim: -------------------------------------------------------------------------------- 1 | " Test repeat of gr!p. 2 | 3 | call SetRegister('r', "\n\t foo \n\n\n\tbar \n b z \t \n\n", 'V') 4 | execute "normal \"rgr!p\\sb\" 5 | call VerifyRegister() 6 | 7 | 2normal . 8 | call VerifyRegister() 9 | 10 | call vimtest#SaveOut() 11 | call vimtest#Quit() 12 | -------------------------------------------------------------------------------- /tests/t6502-g=p-repeat.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | INT MAIN(INT ARGC, CHAR[] ARGV) 4 | 5 | VOID FOO(CHAR C, INT N) 6 | VOID FINALIZE() 7 | we (|) here 8 | INT MAIN(INT ARGC, CHAR[] ARGV) 9 | 10 | VOID FOO(CHAR C, INT N) 11 | VOID FINALIZE() 12 | 4 padding text 13 | 5 padding text 14 | -------------------------------------------------------------------------------- /tests/t1560-gqp-linefeed.vim: -------------------------------------------------------------------------------- 1 | " Test gqp of lines with input of separator that includes one linefeed character. 2 | 3 | call SetRegister('r', "\t foo \n\tbar \n b z \t \n", 'V') 4 | execute "normal \"rgqp]\\[\" 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t1740-gujp-repeat.vim: -------------------------------------------------------------------------------- 1 | " Test gujp on queried pattern of text in named register. 2 | 3 | call SetRegister('r', "FOO BAR\tBAZ\t QUUX", 'v') 4 | execute "normal \"rgujpA\" 5 | call VerifyRegister() 6 | normal . 7 | call VerifyRegister() 8 | 9 | call vimtest#SaveOut() 10 | call vimtest#Quit() 11 | -------------------------------------------------------------------------------- /tests/t2013-ic-whitespace.vim: -------------------------------------------------------------------------------- 1 | " Test CTRL-R CTRL-C of lines with leading and trailing whitespace in named register. 2 | 3 | call SetRegister('r', "\t foo \n\tbar \n b z \t \n", 'V') 4 | execute "normal a<\\r>\" 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t2030-ic-expression.vim: -------------------------------------------------------------------------------- 1 | " Test CTRL-R CTRL-C of expression register. 2 | " Tests that this register is not supported. 3 | 4 | call SetRegister('"', "foo\nbar\nb z\n", 'V') 5 | execute "normal a<\\=>\" 6 | call VerifyRegister() 7 | 8 | call vimtest#SaveOut() 9 | call vimtest#Quit() 10 | -------------------------------------------------------------------------------- /tests/t2050-icc.vim: -------------------------------------------------------------------------------- 1 | " Test CTRL-R CTRL-C of multiple lines in default register. 2 | 3 | call SetRegister('"', "\t \n\nf o o \n\n\tb\ta r \n\n b \t \t z \t \n\n\n", 'V') 4 | execute "normal a<\\\\">\" 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t2113-ii-whitespace.vim: -------------------------------------------------------------------------------- 1 | " Test CTRL-R CTRL-I of lines with leading and trailing whitespace in named register. 2 | 3 | call SetRegister('r', "\t foo \n\tbar \n b z \t \n", 'V') 4 | execute "normal a<\\r>\" 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t2540-iq-repeat.vim: -------------------------------------------------------------------------------- 1 | " Test repeat of CTRL-R CTRL-Q. 2 | 3 | call SetRegister('r', "\t foo \n\tbar \n b z \t \n", 'V') 4 | execute "normal a<\\r+-+\>\" 5 | call VerifyRegister() 6 | normal . 7 | call VerifyRegister() 8 | 9 | call vimtest#SaveOut() 10 | call vimtest#Quit() 11 | -------------------------------------------------------------------------------- /tests/t2601-iuu-ws-around.vim: -------------------------------------------------------------------------------- 1 | " Test CTRL-R CTRL-U CTRL-U of whitespace-separated text in named register. 2 | 3 | call SetRegister('r', "\t FOO\nBAR \t \n BAZ\t \n", 'V') 4 | execute "normal a<\\\r>\" 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t3252-gsp-characterwise-borders.vim: -------------------------------------------------------------------------------- 1 | " Test gsp of a word in empty line. 2 | " Tests that spaces *are* inserted. 3 | 4 | normal! yyp0Dk0D 5 | call SetRegister('"', "FOO", 'v') 6 | normal gsp 7 | normal jgsP 8 | 9 | call VerifyRegister() 10 | 11 | call vimtest#SaveOut() 12 | call vimtest#Quit() 13 | -------------------------------------------------------------------------------- /tests/t3671-gGtP-blockwise-longer.vim: -------------------------------------------------------------------------------- 1 | " Test g>P with a block containing longer subsequent lines. 2 | 3 | set autoindent 4 | 2,4> 5 | 3> 6 | 7 | call SetRegister('"', "FOO\nX\nMUCH MOAR", "\9") 8 | normal g>P 9 | call VerifyRegister() 10 | 11 | call vimtest#SaveOut() 12 | call vimtest#Quit() 13 | -------------------------------------------------------------------------------- /tests/t6120-grp-unjoin.vim: -------------------------------------------------------------------------------- 1 | " Test grp of words in default register with unjoin. 2 | 3 | call SetRegister('"', "\t the quick brown (f_o_x) jumps over the lazy [d_o_g] there", 'v') 4 | execute "normal grp \^\\S\\{5}$\" 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t3250-gsp-characterwise-borders.vim: -------------------------------------------------------------------------------- 1 | " Test gsp of a word at line borders. 2 | 3 | normal! yyP 4 | call SetRegister('"', "FOO", 'v') 5 | normal 0gsP 6 | normal $gsp 7 | 8 | normal! j 9 | normal 0gsp 10 | normal $gsP 11 | call VerifyRegister() 12 | 13 | call vimtest#SaveOut() 14 | call vimtest#Quit() 15 | -------------------------------------------------------------------------------- /tests/t3642-gGtp-blockwise-extending.vim: -------------------------------------------------------------------------------- 1 | " Test g>p of a block extending the buffer. 2 | 3 | set autoindent report=0 4 | 2,4> 5 | 3> 6 | 7 | call SetRegister('"', "FOO\nBAR\nBAZ\n\MOAR\nHERE", "\4") 8 | normal g>p 9 | call VerifyRegister() 10 | 11 | call vimtest#SaveOut() 12 | call vimtest#Quit() 13 | -------------------------------------------------------------------------------- /tests/t3672-gGtP-blockwise-extending.vim: -------------------------------------------------------------------------------- 1 | " Test g>P of a block extending the buffer. 2 | 3 | set autoindent report=0 4 | 2,4> 5 | 3> 6 | 7 | call SetRegister('"', "FOO\nBAR\nBAZ\n\MOAR\nHERE", "\4") 8 | normal g>P 9 | call VerifyRegister() 10 | 11 | call vimtest#SaveOut() 12 | call vimtest#Quit() 13 | -------------------------------------------------------------------------------- /tests/t6500-g=p-lines.vim: -------------------------------------------------------------------------------- 1 | " Test g=p of lines in named register. 2 | 3 | call SetRegister('r', "int main(int argc, char[] argv)\n\nvoid foo(char c, int n)\nvoid finalize()\n", 'V') 4 | execute "normal \"rg=p\toupper(v:val)\" 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t7020-gHp-default-lines.vim: -------------------------------------------------------------------------------- 1 | " Test gHp with default combinations of lines in named register. 2 | 3 | set autoindent 4 | 2,4> 5 | 3> 6 | 7 | call SetRegister('r', "FOO\n\tBAR\n\nMOAR STUFF\n", 'V') 8 | normal "rgHp 9 | call VerifyRegister() 10 | 11 | call vimtest#SaveOut() 12 | call vimtest#Quit() 13 | -------------------------------------------------------------------------------- /tests/t7040-ihh-3U-commaQuote-s.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we ( "Foo", "Bar", "Baz" ) here 4 | at end' "Foo", "Bar", "Baz" 5 | "Foo", "Bar", "Baz" 'at begin 6 | "Foo", "Bar", "Baz" 7 | middle' "Foo", "Bar", "Baz" 'with existing separators 8 | 4 padding text 9 | 5 padding text 10 | -------------------------------------------------------------------------------- /tests/t1730-gujp-no-separator.vim: -------------------------------------------------------------------------------- 1 | " Test gujp on empty queried pattern of text in named register. 2 | " Tests that nothing is pasted. 3 | 4 | call SetRegister('r', "FOO BAR\tBAZ\t QUUX", 'v') 5 | execute "normal \"rgujp\" 6 | call VerifyRegister() 7 | 8 | call vimtest#SaveOut() 9 | call vimtest#Quit() 10 | -------------------------------------------------------------------------------- /tests/t1811-gpp-block.vim: -------------------------------------------------------------------------------- 1 | " Test gpp of blockwise named register contents. 2 | " Tests that the virtual column check works on every line now. 3 | 4 | call SetRegister('r', "42 of \n90 have\n$111. ", "\7") 5 | normal "rgpp 6 | call VerifyRegister() 7 | 8 | call vimtest#SaveOut() 9 | call vimtest#Quit() 10 | -------------------------------------------------------------------------------- /tests/t2500-iq-whitespace.vim: -------------------------------------------------------------------------------- 1 | " Test CTRL-R CTRL-Q of lines with leading and trailing whitespace in named register. 2 | 3 | call SetRegister('r', "\t foo \n\tbar \n b z \t \n", 'V') 4 | execute "normal a<\\r+-+\>\" 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t3030-g]P-variations.ok: -------------------------------------------------------------------------------- 1 | FOO 2 | B Z 3 | QUUX 4 | c) g[p with blockwise ^ 5 | foo 6 | bar 7 | b z 8 | b) g[P with linewise ^ 9 | foo bar 10 | a) g]P with characterwise ^ 11 | 1 padding text 12 | 2 padding text 13 | we (|) here 14 | 4 padding text 15 | 5 padding text 16 | -------------------------------------------------------------------------------- /tests/t3204-gSp-emptyPattern.vim: -------------------------------------------------------------------------------- 1 | " Test gSp with a tweaked empty-pattern. 2 | 3 | call SetRegister('r', "foo\n", 'V') 4 | 3normal "rgSp 5 | 6 | let g:UnconditionalPaste_EmptyLinePattern = '\spadding\s' 7 | 3normal "rgSP 8 | 9 | call VerifyRegister() 10 | 11 | call vimtest#SaveOut() 12 | call vimtest#Quit() 13 | -------------------------------------------------------------------------------- /tests/t3205-gSp-whitespaceLine.vim: -------------------------------------------------------------------------------- 1 | " Test gSp on a line consisting of just whitespace. 2 | 3 | call SetRegister('r', "foo\n", 'V') 4 | call append(3, "\t") 5 | call append(2, ' ') 6 | 4normal "rgSp 7 | 8 | 4normal "rgSP 9 | 10 | call VerifyRegister() 11 | 12 | call vimtest#SaveOut() 13 | call vimtest#Quit() 14 | -------------------------------------------------------------------------------- /tests/t3282-gSp-linewise-empty-lines.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | --- 4 | 5 | FOO 6 | 7 | stuff 8 | --- 9 | 10 | FOO 11 | 12 | stuff 13 | --- 14 | stuff 15 | 16 | FOO 17 | 18 | --- 19 | stuff 20 | 21 | FOO 22 | 23 | --- 24 | 25 | 26 | FOO 27 | 28 | 29 | --- 30 | 31 | 32 | FOO 33 | 34 | 35 | -------------------------------------------------------------------------------- /tests/t3680-gGtP-softtabstop.vim: -------------------------------------------------------------------------------- 1 | " Test g>P with softtabstop. 2 | 3 | set ts=8 sts=4 noet sw=4 autoindent 4 | 4,5s/text/ &/ 5 | 2,4> 6 | 3> 7 | 8 | call SetRegister('"', "FOO\nX\nMUCH MOAR", "\9") 9 | normal g>P 10 | call VerifyRegister() 11 | 12 | call vimtest#SaveOut() 13 | call vimtest#Quit() 14 | -------------------------------------------------------------------------------- /tests/t6470-g==p-adding.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | the 5 | quick 6 | <<< 7 | brown 8 | brown 9 | >>> 10 | <<< 11 | fox 12 | fox 13 | >>> 14 | jumps 15 | <<< 16 | over 17 | over 18 | >>> 19 | the 20 | lazy 21 | <<< 22 | dog 23 | dog 24 | >>> 25 | 4 padding text 26 | 5 padding text 27 | -------------------------------------------------------------------------------- /tests/t6520-g=p-unjoin.vim: -------------------------------------------------------------------------------- 1 | " Test g=p of words in default register with unjoin. 2 | 3 | call SetRegister('"', "the quick\tbrown\tfox jumps over the\tlazy\tdog", 'v') 4 | execute "normal g=p\^ ^substitute(v:val, '\\l', '\\u&', '')\" 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t6710-gbslash-none.vim: -------------------------------------------------------------------------------- 1 | " Test g\p of words with no default. 2 | 3 | let b:UnconditionalPaste_Escapes = [] 4 | 5 | call SetRegister('"', "main(\"f/o/o\", 'b\\a\\r', \"rock'n'roll\")", 'v') 6 | execute "normal g\\p\\" 7 | call VerifyRegister() 8 | 9 | call vimtest#SaveOut() 10 | call vimtest#Quit() 11 | -------------------------------------------------------------------------------- /tests/t1602-gUJp-multi-around.vim: -------------------------------------------------------------------------------- 1 | " Test gUJp of text surrounded and delimited by multiple delimiters. 2 | 3 | let g:UnconditionalPaste_UnjoinSeparatorPattern = '-' 4 | call SetRegister('r', "---foo---bar---", 'v') 5 | normal "rgUJp 6 | call VerifyRegister() 7 | 8 | call vimtest#SaveOut() 9 | call vimtest#Quit() 10 | -------------------------------------------------------------------------------- /tests/t1750-gujp-error.vim: -------------------------------------------------------------------------------- 1 | " Test gujp with error in queried pattern. 2 | 3 | call SetRegister('r', "FOO BAR,BAZ,QUUX", 'v') 4 | " XXX: Couldn't get vimtap#err#Throws() to work; assert via msgout. 5 | execute "normal \"rgujp,\\(\" 6 | call VerifyRegister() 7 | 8 | call vimtest#SaveOut() 9 | call vimtest#Quit() 10 | -------------------------------------------------------------------------------- /tests/t2400-iqq-whitespace.vim: -------------------------------------------------------------------------------- 1 | " Test CTRL-R CTRL-Q CTRL-Q of lines with leading and trailing whitespace in named register. 2 | 3 | call SetRegister('r', "\t foo \n\tbar \n b z \t \n", 'V') 4 | execute "normal a<\\\r>\" 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t2550-iq-prefix-suffix.vim: -------------------------------------------------------------------------------- 1 | " Test CTRL-R CTRL-Q of lines with input of prefix and suffix. 2 | 3 | call SetRegister('r', "\t foo \n\tbar \n b z \t \n", 'V') 4 | execute "normal a<\\r[\\, \\]\>\" 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t5020-g]]p-blockwise.vim: -------------------------------------------------------------------------------- 1 | " Test g]]p of block. 2 | " Tests that trailing whitespace is removed. 3 | 4 | set autoindent 5 | 2,4> 6 | 3> 7 | 8 | call SetRegister('"', "FOO \n\tX\nMUCH MOAR", "\9") 9 | normal g]]p 10 | call VerifyRegister() 11 | 12 | call vimtest#SaveOut() 13 | call vimtest#Quit() 14 | -------------------------------------------------------------------------------- /tests/t5025-g[[p-blockwise.vim: -------------------------------------------------------------------------------- 1 | " Test g[[p of block. 2 | " Tests that trailing whitespace is removed. 3 | 4 | set autoindent 5 | 2,4> 6 | 3> 7 | 8 | call SetRegister('"', "FOO \n\tX\nMUCH MOAR", "\9") 9 | normal g[[p 10 | call VerifyRegister() 11 | 12 | call vimtest#SaveOut() 13 | call vimtest#Quit() 14 | -------------------------------------------------------------------------------- /tests/t6030-gRp-characterwise.vim: -------------------------------------------------------------------------------- 1 | " Test gRp of characterwise multi-line yank. 2 | 3 | let g:UnconditionalPaste_GrepPattern = 'o' 4 | call SetRegister('"', "the quick\nbrown fox\n\n\njumps over\nthe lazy\n\n\ndog", 'v') 5 | normal gRp 6 | call VerifyRegister() 7 | 8 | call vimtest#SaveOut() 9 | call vimtest#Quit() 10 | -------------------------------------------------------------------------------- /tests/t6472-g==p-adding-multiline.ok: -------------------------------------------------------------------------------- 1 | 1 padding text 2 | 2 padding text 3 | we (|) here 4 | <<< 5 | the 6 | quick 7 | brown 8 | fox 9 | jumps 10 | over 11 | the 12 | lazy 13 | dog 14 | the 15 | quick 16 | brown 17 | fox 18 | jumps 19 | over 20 | the 21 | lazy 22 | dog 23 | >>> 24 | 4 padding text 25 | 5 padding text 26 | -------------------------------------------------------------------------------- /tests/t6591-g=p-invalid-expression.vim: -------------------------------------------------------------------------------- 1 | " Test g=p with invalid expression. 2 | 3 | call SetRegister('"', "foo\nbar\n", 'V') 4 | " XXX: Couldn't get vimtap#err#Throws() to work; assert via msgout. 5 | execute "normal g=p\42 +\" 6 | call VerifyRegister() 7 | 8 | call vimtest#SaveOut() 9 | call vimtest#Quit() 10 | -------------------------------------------------------------------------------- /tests/t1352-gcommaquotep-single.vim: -------------------------------------------------------------------------------- 1 | " Test g,"p of a single entry. 2 | " Tests that the comma is placed in front of the entry. 3 | " Tests that only the entry is quoted. 4 | 5 | call SetRegister('r', "\t foo \n\t", 'v') 6 | normal "rg,"p 7 | call VerifyRegister() 8 | 9 | call vimtest#SaveOut() 10 | call vimtest#Quit() 11 | -------------------------------------------------------------------------------- /tests/t3110-gHashp-whitespace.vim: -------------------------------------------------------------------------------- 1 | " Test g#p of lines with leading and trailing whitespace in named register. 2 | 3 | set commentstring=/*%s*/ 4 | call SetRegister('r', "\n\t foo \n\tbar \n\n\n b z \t \n\t\n\n", 'V') 5 | normal "rg#p 6 | call VerifyRegister() 7 | 8 | call vimtest#SaveOut() 9 | call vimtest#Quit() 10 | -------------------------------------------------------------------------------- /tests/t3352-gQBp-characterwise-borders.vim: -------------------------------------------------------------------------------- 1 | " Test gQBp of a word in empty line without unjoin. 2 | " Tests that spaces *are* inserted. 3 | 4 | normal! yyp0Dk0D 5 | call SetRegister('"', "FOO", 'v') 6 | normal 1gQBp 7 | normal j1gQBP 8 | 9 | call VerifyRegister() 10 | 11 | call vimtest#SaveOut() 12 | call vimtest#Quit() 13 | -------------------------------------------------------------------------------- /tests/t1582-gqp-element-suffix.vim: -------------------------------------------------------------------------------- 1 | " Test gqp of lines with input of an element suffix. 2 | 3 | call SetRegister('r', "\t foo \n\tbar \n baz \t \n", 'V') 4 | execute "normal \"rgqp\\\\\\()\\n{\\n\\n}\\n\\\" 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t2550-iqg-whitespace.vim: -------------------------------------------------------------------------------- 1 | " Test CTRL-R CTRL-Q CTRL-G of lines with leading and trailing whitespace in named register. 2 | 3 | call SetRegister('r', "\t foo \n\tbar \n b z \t \n", 'V') 4 | execute "normal a<\\\r+-+\>\" 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t3550-gBp-characterwise-borders.vim: -------------------------------------------------------------------------------- 1 | " Test gBp of a word at line borders without unjoin. 2 | 3 | normal! yyP 4 | call SetRegister('"', "FOO", 'v') 5 | normal 01gBP 6 | normal $1gBp 7 | 8 | normal! j 9 | normal 01gBp 10 | normal $1gBP 11 | call VerifyRegister() 12 | 13 | call vimtest#SaveOut() 14 | call vimtest#Quit() 15 | -------------------------------------------------------------------------------- /tests/t3631-gGtp-characterwise-lines.vim: -------------------------------------------------------------------------------- 1 | " Test g>p of multiple lines in the default register. 2 | " Tests that the lines are flattened. 3 | 4 | set autoindent 5 | 2,4> 6 | 3> 7 | 8 | call SetRegister('"', "foo\n\there", 'v') 9 | normal g>p 10 | call VerifyRegister() 11 | 12 | call vimtest#SaveOut() 13 | call vimtest#Quit() 14 | -------------------------------------------------------------------------------- /tests/t6460-g==p-filter.vim: -------------------------------------------------------------------------------- 1 | " Test g==p with filtering out lines. 2 | 3 | let g:UnconditionalPaste_Expression = '.v:val =~# "o" ? [] : v:val' 4 | call SetRegister('"', "the\nquick\nbrown\nfox\njumps\nover\nthe\nlazy\ndog\n", 'V') 5 | normal g==p 6 | call VerifyRegister() 7 | 8 | call vimtest#SaveOut() 9 | call vimtest#Quit() 10 | -------------------------------------------------------------------------------- /tests/t6485-g==p-ex.vim: -------------------------------------------------------------------------------- 1 | " Test g==p of lines with Ex command. 2 | 3 | let g:UnconditionalPaste_Expression = ':%>' 4 | call SetRegister('r', "int main(int argc, char[] argv)\n\nvoid foo(char c, int n)\nvoid finalize()\n", 'V') 5 | normal "rg==p 6 | call VerifyRegister() 7 | 8 | call vimtest#SaveOut() 9 | call vimtest#Quit() 10 | -------------------------------------------------------------------------------- /tests/t1701-gujp-recall.vim: -------------------------------------------------------------------------------- 1 | " Test recall of gujp. 2 | 3 | call SetRegister('r', "FOO BAR\tBAZ\t QUUX", 'v') 4 | execute "normal \"rgujp[AQ]\" 5 | call VerifyRegister() 6 | 7 | call SetRegister('s', "MARTARNARQUARA", 'v') 8 | normal 3G"sgUJP 9 | call VerifyRegister() 10 | 11 | call vimtest#SaveOut() 12 | call vimtest#Quit() 13 | -------------------------------------------------------------------------------- /tests/t2620-iuu-autoindent.vim: -------------------------------------------------------------------------------- 1 | " Test CTRL-R CTRL-U CTRL-U of whitespace-separated text with auto-indent. 2 | 3 | setlocal autoindent 4 | call SetRegister('r', "FOO BAR\tBAZ\t QUUX", 'v') 5 | execute "normal a\\<\\\r>\" 6 | call VerifyRegister() 7 | 8 | call vimtest#SaveOut() 9 | call vimtest#Quit() 10 | -------------------------------------------------------------------------------- /tests/t3206-gsp-emptySeparator.vim: -------------------------------------------------------------------------------- 1 | " Test gsp with a tweaked empty-separator. 2 | 3 | normal! m'' 4 | call SetRegister('"', "foobar", 'v') 5 | normal gsp 6 | 7 | let g:UnconditionalPaste_EmptySeparatorPattern = '[[:space:]()]' 8 | normal ``gsP 9 | call VerifyRegister() 10 | 11 | call vimtest#SaveOut() 12 | call vimtest#Quit() 13 | -------------------------------------------------------------------------------- /tests/t3350-gQBp-characterwise-borders.vim: -------------------------------------------------------------------------------- 1 | " Test gQBp of a word at line borders without unjoin. 2 | 3 | normal! yyP 4 | call SetRegister('"', "FOO", 'v') 5 | normal 01gQBP 6 | normal $1gQBp 7 | 8 | normal! j 9 | normal 01gQBp 10 | normal $1gQBP 11 | call VerifyRegister() 12 | 13 | call vimtest#SaveOut() 14 | call vimtest#Quit() 15 | -------------------------------------------------------------------------------- /tests/t3401-gqbp-recall.vim: -------------------------------------------------------------------------------- 1 | " Test recall of gqbp without unjoin. 2 | 3 | call SetRegister('r', "foobar", 'v') 4 | execute "normal \"r1gqbp+-+\" 5 | call VerifyRegister() 6 | 7 | call SetRegister('s', "hi\nhoo\nhere\n", 'V') 8 | normal j"sgQBP 9 | call VerifyRegister() 10 | 11 | call vimtest#SaveOut() 12 | call vimtest#Quit() 13 | -------------------------------------------------------------------------------- /tests/t3593-gBP-on-last-indent-extending.vim: -------------------------------------------------------------------------------- 1 | " Test gBP after the last indent of a line extending the buffer. 2 | 3 | set autoindent report=0 4 | 3,5> 5 | 4> 6 | call SetRegister('"', "FOO\nBAR\nBAZ\n\MOAR\nHERE\n", 'V') 7 | 8 | 3normal ^gBP 9 | 10 | call VerifyRegister() 11 | 12 | call vimtest#SaveOut() 13 | call vimtest#Quit() 14 | -------------------------------------------------------------------------------- /tests/t4000-cc-default.vim: -------------------------------------------------------------------------------- 1 | " Test CTRL-R CTRL-C of multiple lines in default register. 2 | 3 | call SetRegister('"', "foo\nbar\nb z\n", 'V') 4 | execute "normal :let @a = '\\\"'\" 5 | call vimtest#StartTap() 6 | call vimtap#Plan(1) 7 | call vimtap#Is(@a, 'foo bar b z', 'pasted register') 8 | 9 | call vimtest#Quit() 10 | -------------------------------------------------------------------------------- /tests/t5035-g[[p-expandtab.vim: -------------------------------------------------------------------------------- 1 | " Test g[[p with expandtab. 2 | 3 | set ts=8 sts=4 et sw=4 autoindent 4 | 2,4> 5 | 3> 6 | 7 | call SetRegister('"', "\t\tfoo\n\tmuch shorter\n\t shorter\n\t\t\tmuchlonger\n\t\t longer\n", 'V') 8 | normal g[[p 9 | call VerifyRegister() 10 | 11 | call vimtest#SaveOut() 12 | call vimtest#Quit() 13 | -------------------------------------------------------------------------------- /tests/t5035-g]]p-expandtab.vim: -------------------------------------------------------------------------------- 1 | " Test g]]p with expandtab. 2 | 3 | set ts=8 sts=4 et sw=4 autoindent 4 | 2,4> 5 | 3> 6 | 7 | call SetRegister('"', "\t\tfoo\n\tmuch shorter\n\t shorter\n\t\t\tmuchlonger\n\t\t longer\n", 'V') 8 | normal g]]p 9 | call VerifyRegister() 10 | 11 | call vimtest#SaveOut() 12 | call vimtest#Quit() 13 | -------------------------------------------------------------------------------- /tests/t6020-gRp-unjoin.vim: -------------------------------------------------------------------------------- 1 | " Test gRp of words in default register with unjoin. 2 | 3 | let g:UnconditionalPaste_GrepPattern = '^\S\{5}$' 4 | call SetRegister('"', "\t the quick brown (f_o_x) jumps over the lazy [d_o_g] there", 'v') 5 | normal gRp 6 | call VerifyRegister() 7 | 8 | call vimtest#SaveOut() 9 | call vimtest#Quit() 10 | -------------------------------------------------------------------------------- /tests/t6220-gR!p-words.vim: -------------------------------------------------------------------------------- 1 | " Test gR!p of WORDs in default register. 2 | 3 | let g:UnconditionalPaste_InvertedGrepPattern = '^\S\{5}$' 4 | call SetRegister('"', "\t the quick brown (f_o_x) jumps over the lazy [d_o_g] there", 'v') 5 | normal gR!p 6 | call VerifyRegister() 7 | 8 | call vimtest#SaveOut() 9 | call vimtest#Quit() 10 | -------------------------------------------------------------------------------- /tests/t6230-gR!p-characterwise.vim: -------------------------------------------------------------------------------- 1 | " Test gR!p of characterwise multi-line yank. 2 | 3 | let g:UnconditionalPaste_InvertedGrepPattern = 'o\|^$' 4 | call SetRegister('"', "the quick\nbrown fox\n\n\njumps over\nthe lazy\n\n\ndog", 'v') 5 | normal gR!p 6 | call VerifyRegister() 7 | 8 | call vimtest#SaveOut() 9 | call vimtest#Quit() 10 | -------------------------------------------------------------------------------- /tests/t6690-ibslashbslash-lines.vim: -------------------------------------------------------------------------------- 1 | " Test CTRL-R CTRL-\ CTRL-\ of lines in named register. 2 | 3 | call SetRegister('r', "main(\"f/o/o\", 'b\\a\\r', \"rock'n'roll\")\n\nCan ...\\foo\\bar\\... be done?\n", 'V') 4 | execute "normal a<\\\r>\" 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t1370-gcommaap-pair-no-serial.vim: -------------------------------------------------------------------------------- 1 | " Test one line with count of two or two lines resulting in no serial comma. 2 | 3 | call SetRegister('"', "single", 'v') 4 | normal 2g,nP 5 | 6 | call SetRegister('r', "foo\n\tbar \n", 'V') 7 | normal l"rg,ap 8 | 9 | 5normal "r2g,aP 10 | 11 | call vimtest#SaveOut() 12 | call vimtest#Quit() 13 | -------------------------------------------------------------------------------- /tests/t3120-gHashp-indented.vim: -------------------------------------------------------------------------------- 1 | " Test g#p of words around indented lines. 2 | " Tests that it acts like ]p, not p. 3 | 4 | set commentstring=/*%s*/ 5 | set autoindent 6 | 2,4> 7 | 3> 8 | 9 | call SetRegister('r', "foo bar", 'v') 10 | normal "rg#p 11 | call VerifyRegister() 12 | 13 | call vimtest#SaveOut() 14 | call vimtest#Quit() 15 | -------------------------------------------------------------------------------- /tests/t3393-gQBP-on-last-indent-extending.vim: -------------------------------------------------------------------------------- 1 | " Test gQBP after the last indent of a line extending the buffer. 2 | 3 | set autoindent report=0 4 | 3,5> 5 | 4> 6 | call SetRegister('"', "FOO\nBAR\nBAZ\n\MOAR\nHERE\n", 'V') 7 | 8 | 3normal ^gQBP 9 | 10 | call VerifyRegister() 11 | 12 | call vimtest#SaveOut() 13 | call vimtest#Quit() 14 | -------------------------------------------------------------------------------- /tests/t4030-cc-expression.vim: -------------------------------------------------------------------------------- 1 | " Test CTRL-R CTRL-C of expression register. 2 | " Tests that this register is not supported. 3 | 4 | let @a = '' 5 | execute "normal :let @a = '\\='\" 6 | call vimtest#StartTap() 7 | call vimtap#Plan(1) 8 | call vimtap#Is(@a, '', 'original register contents') 9 | 10 | call vimtest#Quit() 11 | -------------------------------------------------------------------------------- /tests/t5030-g]]p-softtabstop.vim: -------------------------------------------------------------------------------- 1 | " Test g]]p with softtabtop. 2 | 3 | set ts=8 sts=4 noet sw=4 autoindent 4 | 2,4> 5 | 3> 6 | 7 | call SetRegister('"', "\t\tfoo\n\tmuch shorter\n\t shorter\n\t\t\tmuchlonger\n\t\t longer\n", 'V') 8 | normal g]]p 9 | call VerifyRegister() 10 | 11 | call vimtest#SaveOut() 12 | call vimtest#Quit() 13 | -------------------------------------------------------------------------------- /tests/t5031-g[[p-softtabstop.vim: -------------------------------------------------------------------------------- 1 | " Test g[[p with softtabtop. 2 | 3 | set ts=8 sts=4 noet sw=4 autoindent 4 | 2,4> 5 | 3> 6 | 7 | call SetRegister('"', "\t\tfoo\n\tmuch shorter\n\t shorter\n\t\t\tmuchlonger\n\t\t longer\n", 'V') 8 | normal g[[p 9 | call VerifyRegister() 10 | 11 | call vimtest#SaveOut() 12 | call vimtest#Quit() 13 | -------------------------------------------------------------------------------- /tests/t6050-gRp-count.vim: -------------------------------------------------------------------------------- 1 | " Test gRp of lines with count. 2 | 3 | call vimtest#SkipAndQuitIf(! vimtest#features#SupportsNormalWithCount(), 'Need support for :normal with count') 4 | 5 | call SetRegister('s', "\n\nfoo\n\nbar\n", 'V') 6 | normal 3"sgRp 7 | call VerifyRegister() 8 | 9 | call vimtest#SaveOut() 10 | call vimtest#Quit() 11 | -------------------------------------------------------------------------------- /tests/t6472-g==p-adding-multiline.vim: -------------------------------------------------------------------------------- 1 | " Test g==p with adding of new lines. 2 | 3 | let g:UnconditionalPaste_Expression = '["<<<", v:val, v:val, ">>>"]' 4 | call SetRegister('"', "the\nquick\nbrown\nfox\njumps\nover\nthe\nlazy\ndog\n", 'V') 5 | normal g==p 6 | call VerifyRegister() 7 | 8 | call vimtest#SaveOut() 9 | call vimtest#Quit() 10 | -------------------------------------------------------------------------------- /tests/t6480-g==p-function.vim: -------------------------------------------------------------------------------- 1 | " Test g==p of lines with function name 2 | 3 | let g:UnconditionalPaste_Expression = 'toupper' 4 | call SetRegister('r', "int main(int argc, char[] argv)\n\nvoid foo(char c, int n)\nvoid finalize()\n", 'V') 5 | normal "rg==p 6 | call VerifyRegister() 7 | 8 | call vimtest#SaveOut() 9 | call vimtest#Quit() 10 | -------------------------------------------------------------------------------- /tests/t6630-gbslashbslashp-count.vim: -------------------------------------------------------------------------------- 1 | " Test g\\p of words with count multiplier. 2 | 3 | source helpers/escapes.vim 4 | let b:UnconditionalPaste_Escapes = g:escapes 5 | 6 | call SetRegister('r', "Can \"O'Reilly\" come here?\n", 'V') 7 | normal 3"rg\\p 8 | call VerifyRegister() 9 | 10 | call vimtest#SaveOut() 11 | call vimtest#Quit() 12 | -------------------------------------------------------------------------------- /tests/t1120-glp-count.vim: -------------------------------------------------------------------------------- 1 | " Test glp of words with count in named register. 2 | 3 | call vimtest#SkipAndQuitIf(! vimtest#features#SupportsNormalWithCount(), 'Need support for :normal with count') 4 | 5 | call SetRegister('r', "foo bar", 'v') 6 | normal "r3glp 7 | call VerifyRegister() 8 | 9 | call vimtest#SaveOut() 10 | call vimtest#Quit() 11 | -------------------------------------------------------------------------------- /tests/t1501-gqp-recall.vim: -------------------------------------------------------------------------------- 1 | " Test recall of gqp. 2 | 3 | call SetRegister('r', "\t foo \n\tbar \n b z \t \n", 'V') 4 | execute "normal \"rgqp+-+\" 5 | call VerifyRegister() 6 | 7 | call SetRegister('s', "hi\nho\nhere\n", 'V') 8 | normal `[h"sgQP 9 | call VerifyRegister() 10 | 11 | call vimtest#SaveOut() 12 | call vimtest#Quit() 13 | -------------------------------------------------------------------------------- /tests/t1820-gpp-count.vim: -------------------------------------------------------------------------------- 1 | " Test gpp of number with count. 2 | 3 | call vimtest#SkipAndQuitIf(! vimtest#features#SupportsNormalWithCount(), 'Need support for :normal with count') 4 | 5 | call SetRegister('r', "42 of 99 have $111.\n", 'V') 6 | normal "r3gpp 7 | call VerifyRegister() 8 | 9 | call vimtest#SaveOut() 10 | call vimtest#Quit() 11 | -------------------------------------------------------------------------------- /tests/t1870-gpP-count.vim: -------------------------------------------------------------------------------- 1 | " Test gpP of number with count. 2 | 3 | call vimtest#SkipAndQuitIf(! vimtest#features#SupportsNormalWithCount(), 'Need support for :normal with count') 4 | 5 | call SetRegister('r', "42 of 99 have $111.\n", 'V') 6 | normal "r3gpP 7 | call VerifyRegister() 8 | 9 | call vimtest#SaveOut() 10 | call vimtest#Quit() 11 | -------------------------------------------------------------------------------- /tests/t1930-gPP-count.vim: -------------------------------------------------------------------------------- 1 | " Test gPP of number with count. 2 | 3 | call vimtest#SkipAndQuitIf(! vimtest#features#SupportsNormalWithCount(), 'Need support for :normal with count') 4 | 5 | call SetRegister('r', "42 of 99 have $111.\n", 'V') 6 | normal "r3gPP 7 | call VerifyRegister() 8 | 9 | call vimtest#SaveOut() 10 | call vimtest#Quit() 11 | -------------------------------------------------------------------------------- /tests/t3354-gQBp-characterwise-unjoin-borders.vim: -------------------------------------------------------------------------------- 1 | " Test gQBp of a word at line borders with unjoin. 2 | 3 | let g:UnconditionalPaste_UnjoinSeparatorPattern = '\zs' 4 | normal! yy2P 5 | call SetRegister('"', "FOO", 'v') 6 | normal 0gQBP 7 | normal $gQBp 8 | 9 | call VerifyRegister() 10 | 11 | call vimtest#SaveOut() 12 | call vimtest#Quit() 13 | -------------------------------------------------------------------------------- /tests/t3396-gQBp-at-end-of-line.vim: -------------------------------------------------------------------------------- 1 | " Test gQBp at the end of line with a different separator. 2 | 3 | let g:UnconditionalPaste_Separator = '|' 4 | set autoindent 5 | 3,5> 6 | 4> 7 | call SetRegister('"', "FOO\nBAR\nBAZ\n", 'V') 8 | 9 | 3normal $gQBp 10 | 11 | call VerifyRegister() 12 | 13 | call vimtest#SaveOut() 14 | call vimtest#Quit() 15 | -------------------------------------------------------------------------------- /tests/t6410-g==p-custom.vim: -------------------------------------------------------------------------------- 1 | " Test g==p with a custom expression. 2 | 3 | let g:UnconditionalPaste_Expression = 'toupper(v:val)' 4 | call SetRegister('r', "int main(int argc, char[] argv)\n\nvoid foo(char c, int n)\nvoid finalize()\n", 'V') 5 | normal "rg==p 6 | call VerifyRegister() 7 | 8 | call vimtest#SaveOut() 9 | call vimtest#Quit() 10 | -------------------------------------------------------------------------------- /tests/t2450-iqqgg-whitespace.vim: -------------------------------------------------------------------------------- 1 | " Test CTRL-R CTRL-Q CTRL-Q CTRL-G CTRL-G of lines with leading and trailing whitespace in named register. 2 | 3 | call SetRegister('r', "\t foo \n\tbar \n b z \t \n", 'V') 4 | execute "normal a<\\\\\r>\" 5 | call VerifyRegister() 6 | 7 | call vimtest#SaveOut() 8 | call vimtest#Quit() 9 | -------------------------------------------------------------------------------- /tests/t32080-gSp-emptyAboveBelowPattern.vim: -------------------------------------------------------------------------------- 1 | " Test gSp with tweaked above and below empty-patterns. 2 | 3 | call SetRegister('r', "foo\n", 'V') 4 | 5 | let g:UnconditionalPaste_EmptyLinePattern = ['\spadding\s', '^\s*$'] 6 | 3normal "rgSp 7 | 3normal "rgSP 8 | 9 | call VerifyRegister() 10 | 11 | call vimtest#SaveOut() 12 | call vimtest#Quit() 13 | -------------------------------------------------------------------------------- /tests/t32081-gSp-emptyAboveBelowPattern.vim: -------------------------------------------------------------------------------- 1 | " Test gSp with tweaked above and below empty-patterns. 2 | 3 | call SetRegister('r', "foo\n", 'V') 4 | 5 | let g:UnconditionalPaste_EmptyLinePattern = ['\spadding\s', '^\s*$'] 6 | 4normal "rgSP 7 | 2normal "rgSp 8 | 9 | call VerifyRegister() 10 | 11 | call vimtest#SaveOut() 12 | call vimtest#Quit() 13 | -------------------------------------------------------------------------------- /tests/t32085-gSp-emptyAboveBelowPattern.vim: -------------------------------------------------------------------------------- 1 | " Test gSp with tweaked above and below empty-patterns. 2 | 3 | call SetRegister('r', "foo\n", 'V') 4 | 5 | let g:UnconditionalPaste_EmptyLinePattern = ['^\s*$', '\spadding\s'] 6 | 3normal "rgSp 7 | 3normal "rgSP 8 | 9 | call VerifyRegister() 10 | 11 | call vimtest#SaveOut() 12 | call vimtest#Quit() 13 | --------------------------------------------------------------------------------