From d920bb915373f556943f08c63760894efc222b73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Thu, 21 Apr 2016 10:59:03 +0200 Subject: Move vim/prompt test to vis/prompt This does not seem to work with vim -u NONE. --- vis/prompt/history.in | 3 +++ vis/prompt/history.keys | 6 ++++++ vis/prompt/history.ref | 3 +++ 3 files changed, 12 insertions(+) create mode 100644 vis/prompt/history.in create mode 100644 vis/prompt/history.keys create mode 100644 vis/prompt/history.ref (limited to 'vis') diff --git a/vis/prompt/history.in b/vis/prompt/history.in new file mode 100644 index 0000000..a92d664 --- /dev/null +++ b/vis/prompt/history.in @@ -0,0 +1,3 @@ +line 1 +line 2 +line 3 diff --git a/vis/prompt/history.keys b/vis/prompt/history.keys new file mode 100644 index 0000000..15bc331 --- /dev/null +++ b/vis/prompt/history.keys @@ -0,0 +1,6 @@ +:+-s/line/word/ /* replace something on first line */ +:2l /* select second line */ +: /* repeat replacement */ +:e /* simulate a typo on the command line */ +:3l /* select third line */ +: /* repeat replacement */ diff --git a/vis/prompt/history.ref b/vis/prompt/history.ref new file mode 100644 index 0000000..7d45533 --- /dev/null +++ b/vis/prompt/history.ref @@ -0,0 +1,3 @@ +word 1 +word 2 +word 3 -- cgit v1.2.3