summaryrefslogtreecommitdiff
path: root/test/normal/selection-undo
diff options
context:
space:
mode:
Diffstat (limited to 'test/normal/selection-undo')
-rw-r--r--test/normal/selection-undo/fold-redundant-entries/cmd1
-rw-r--r--test/normal/selection-undo/fold-redundant-entries/in4
-rw-r--r--test/normal/selection-undo/fold-redundant-entries/out3
-rw-r--r--test/normal/selection-undo/fold-redundant-entries/script2
-rw-r--r--test/normal/selection-undo/redo/cmd1
-rw-r--r--test/normal/selection-undo/redo/in4
-rw-r--r--test/normal/selection-undo/redo/out4
-rw-r--r--test/normal/selection-undo/redo/script2
-rw-r--r--test/normal/selection-undo/undo/cmd1
-rw-r--r--test/normal/selection-undo/undo/in4
-rw-r--r--test/normal/selection-undo/undo/out4
-rw-r--r--test/normal/selection-undo/undo/script2
-rw-r--r--test/normal/selection-undo/windisplay-hook/cmd1
-rw-r--r--test/normal/selection-undo/windisplay-hook/in3
-rw-r--r--test/normal/selection-undo/windisplay-hook/out3
-rw-r--r--test/normal/selection-undo/windisplay-hook/rc1
-rw-r--r--test/normal/selection-undo/windisplay-hook/script2
17 files changed, 42 insertions, 0 deletions
diff --git a/test/normal/selection-undo/fold-redundant-entries/cmd b/test/normal/selection-undo/fold-redundant-entries/cmd
new file mode 100644
index 00000000..8b137891
--- /dev/null
+++ b/test/normal/selection-undo/fold-redundant-entries/cmd
@@ -0,0 +1 @@
+
diff --git a/test/normal/selection-undo/fold-redundant-entries/in b/test/normal/selection-undo/fold-redundant-entries/in
new file mode 100644
index 00000000..94ebaf90
--- /dev/null
+++ b/test/normal/selection-undo/fold-redundant-entries/in
@@ -0,0 +1,4 @@
+1
+2
+3
+4
diff --git a/test/normal/selection-undo/fold-redundant-entries/out b/test/normal/selection-undo/fold-redundant-entries/out
new file mode 100644
index 00000000..239c8675
--- /dev/null
+++ b/test/normal/selection-undo/fold-redundant-entries/out
@@ -0,0 +1,3 @@
+2
+3
+here4
diff --git a/test/normal/selection-undo/fold-redundant-entries/script b/test/normal/selection-undo/fold-redundant-entries/script
new file mode 100644
index 00000000..456f92f2
--- /dev/null
+++ b/test/normal/selection-undo/fold-redundant-entries/script
@@ -0,0 +1,2 @@
+ui_out -ignore 4
+ui_in '{ "jsonrpc": "2.0", "method": "keys", "params": [ "gjgkxd<c-h>ihere<esc>" ] }'
diff --git a/test/normal/selection-undo/redo/cmd b/test/normal/selection-undo/redo/cmd
new file mode 100644
index 00000000..8b137891
--- /dev/null
+++ b/test/normal/selection-undo/redo/cmd
@@ -0,0 +1 @@
+
diff --git a/test/normal/selection-undo/redo/in b/test/normal/selection-undo/redo/in
new file mode 100644
index 00000000..94ebaf90
--- /dev/null
+++ b/test/normal/selection-undo/redo/in
@@ -0,0 +1,4 @@
+1
+2
+3
+4
diff --git a/test/normal/selection-undo/redo/out b/test/normal/selection-undo/redo/out
new file mode 100644
index 00000000..76bef247
--- /dev/null
+++ b/test/normal/selection-undo/redo/out
@@ -0,0 +1,4 @@
+1
+2
+here3
+4
diff --git a/test/normal/selection-undo/redo/script b/test/normal/selection-undo/redo/script
new file mode 100644
index 00000000..c92d82d7
--- /dev/null
+++ b/test/normal/selection-undo/redo/script
@@ -0,0 +1,2 @@
+ui_out -ignore 4
+ui_in '{ "jsonrpc": "2.0", "method": "keys", "params": [ "2jj<c-h><c-h><c-k>ihere<esc>" ] }'
diff --git a/test/normal/selection-undo/undo/cmd b/test/normal/selection-undo/undo/cmd
new file mode 100644
index 00000000..8b137891
--- /dev/null
+++ b/test/normal/selection-undo/undo/cmd
@@ -0,0 +1 @@
+
diff --git a/test/normal/selection-undo/undo/in b/test/normal/selection-undo/undo/in
new file mode 100644
index 00000000..94ebaf90
--- /dev/null
+++ b/test/normal/selection-undo/undo/in
@@ -0,0 +1,4 @@
+1
+2
+3
+4
diff --git a/test/normal/selection-undo/undo/out b/test/normal/selection-undo/undo/out
new file mode 100644
index 00000000..00a7e5fd
--- /dev/null
+++ b/test/normal/selection-undo/undo/out
@@ -0,0 +1,4 @@
+here1
+2
+3
+4
diff --git a/test/normal/selection-undo/undo/script b/test/normal/selection-undo/undo/script
new file mode 100644
index 00000000..2b00d75e
--- /dev/null
+++ b/test/normal/selection-undo/undo/script
@@ -0,0 +1,2 @@
+ui_out -ignore 4
+ui_in '{ "jsonrpc": "2.0", "method": "keys", "params": [ "j2j<c-h><c-h>ihere<esc>" ] }'
diff --git a/test/normal/selection-undo/windisplay-hook/cmd b/test/normal/selection-undo/windisplay-hook/cmd
new file mode 100644
index 00000000..8b137891
--- /dev/null
+++ b/test/normal/selection-undo/windisplay-hook/cmd
@@ -0,0 +1 @@
+
diff --git a/test/normal/selection-undo/windisplay-hook/in b/test/normal/selection-undo/windisplay-hook/in
new file mode 100644
index 00000000..01e79c32
--- /dev/null
+++ b/test/normal/selection-undo/windisplay-hook/in
@@ -0,0 +1,3 @@
+1
+2
+3
diff --git a/test/normal/selection-undo/windisplay-hook/out b/test/normal/selection-undo/windisplay-hook/out
new file mode 100644
index 00000000..92243f2b
--- /dev/null
+++ b/test/normal/selection-undo/windisplay-hook/out
@@ -0,0 +1,3 @@
+1
+2
+here3
diff --git a/test/normal/selection-undo/windisplay-hook/rc b/test/normal/selection-undo/windisplay-hook/rc
new file mode 100644
index 00000000..b157a2ce
--- /dev/null
+++ b/test/normal/selection-undo/windisplay-hook/rc
@@ -0,0 +1 @@
+hook global WinDisplay .*/out %{exec j}
diff --git a/test/normal/selection-undo/windisplay-hook/script b/test/normal/selection-undo/windisplay-hook/script
new file mode 100644
index 00000000..d2fd1c40
--- /dev/null
+++ b/test/normal/selection-undo/windisplay-hook/script
@@ -0,0 +1,2 @@
+ui_out -ignore 4
+ui_in '{ "jsonrpc": "2.0", "method": "keys", "params": [ "j:buffer *debug*<ret><c-h>ihere<esc>" ] }'