aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2016-11-07 00:08:23 +0100
committerJustin M. Keyes <justinkz@gmail.com>2016-11-08 21:21:46 +0100
commit3ccf69c1ded94c0c3cac50d21dc6d55e5f7a8a21 (patch)
tree4f043810be44d222e4926283436ef4a3f621a3c6 /test
parentd0689eb0b2473de479396b77fb685954d65d994c (diff)
downloadrneovim-3ccf69c1ded94c0c3cac50d21dc6d55e5f7a8a21.tar.gz
rneovim-3ccf69c1ded94c0c3cac50d21dc6d55e5f7a8a21.tar.bz2
rneovim-3ccf69c1ded94c0c3cac50d21dc6d55e5f7a8a21.zip
'inccommand': set buffer name to [Preview]
[inc_sub] is less obvious for users. Also, in the future we may want to generalize the idea of a "preview buffer", or "incremental commands" besides :substitute.
Diffstat (limited to 'test')
-rw-r--r--test/functional/ui/incsubstitute_spec.lua22
1 files changed, 11 insertions, 11 deletions
diff --git a/test/functional/ui/incsubstitute_spec.lua b/test/functional/ui/incsubstitute_spec.lua
index e52e12a8ce..95bed1ac95 100644
--- a/test/functional/ui/incsubstitute_spec.lua
+++ b/test/functional/ui/incsubstitute_spec.lua
@@ -597,7 +597,7 @@ describe("incsubstitute=split", function()
{15:~ }|
{15:~ }|
{15:~ }|
- {10:[inc_sub] }|
+ {10:[Preview] }|
:%s/tw^ |
]])
end)
@@ -618,7 +618,7 @@ describe("incsubstitute=split", function()
{15:~ }|
{15:~ }|
{15:~ }|
- {10:[inc_sub] }|
+ {10:[Preview] }|
:%s/tw/^ |
]])
@@ -637,7 +637,7 @@ describe("incsubstitute=split", function()
{15:~ }|
{15:~ }|
{15:~ }|
- {10:[inc_sub] }|
+ {10:[Preview] }|
:%s/tw/x^ |
]])
@@ -656,7 +656,7 @@ describe("incsubstitute=split", function()
{15:~ }|
{15:~ }|
{15:~ }|
- {10:[inc_sub] }|
+ {10:[Preview] }|
:%s/tw/^ |
]])
@@ -678,7 +678,7 @@ describe("incsubstitute=split", function()
{15:~ }|
{15:~ }|
{15:~ }|
- {10:[inc_sub] }|
+ {10:[Preview] }|
:%s/tw/XX^ |
]])
end)
@@ -723,7 +723,7 @@ describe("incsubstitute=split", function()
{15:~ }|
{15:~ }|
{15:~ }|
- {10:[inc_sub] }|
+ {10:[Preview] }|
:%s/tw^ |
]])
end)
@@ -746,7 +746,7 @@ describe("incsubstitute=split", function()
{15:~ }|
{15:~ }|
{15:~ }|
- {10:[inc_sub] }|
+ {10:[Preview] }|
:%s/M/123/g^ |
]])
end)
@@ -794,7 +794,7 @@ describe("incsubstitute=split", function()
[1009]{12:X}o lines |
[1011]{12:X}o lines |
[1013]{12:X}o lines |
- {10:[inc_sub] }|
+ {10:[Preview] }|
:%s/tw/X^ |
]])
end)
@@ -1204,7 +1204,7 @@ describe("'incsubstitute': split windows", function()
{15:~ }|
{15:~ }|
{15:~ }|
- {10:[inc_sub] }|
+ {10:[Preview] }|
:%s/tw^ |
]])
@@ -1243,7 +1243,7 @@ describe("'incsubstitute': split windows", function()
{15:~ }|
{15:~ }|
{15:~ }|
- {10:[inc_sub] }|
+ {10:[Preview] }|
:%s/tw^ |
]])
end)
@@ -1293,7 +1293,7 @@ describe("'incsubstitute': split windows", function()
{15:~ }|
{15:~ }|
{15:~ }|
- {10:[inc_sub] }|
+ {10:[Preview] }|
:%s/tw^ |
]])
end