diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-04-21 10:59:03 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-04-21 10:59:03 +0200 |
| commit | d920bb915373f556943f08c63760894efc222b73 (patch) | |
| tree | 8cfa8b63012bb774dfc6e3a80914f9a9e595cf5a /vis | |
| parent | 0dee858c65650bcf23acab846f4ea9e8c84ff6e9 (diff) | |
Move vim/prompt test to vis/prompt
This does not seem to work with vim -u NONE.
Diffstat (limited to 'vis')
| -rw-r--r-- | vis/prompt/history.in | 3 | ||||
| -rw-r--r-- | vis/prompt/history.keys | 6 | ||||
| -rw-r--r-- | vis/prompt/history.ref | 3 |
3 files changed, 12 insertions, 0 deletions
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/<Enter> /* replace something on first line */ +:2<Enter>l /* select second line */ +:<Up><Up><Enter> /* repeat replacement */ +:e<Backspace><Backspace> /* simulate a typo on the command line */ +:3<Enter>l /* select third line */ +:<Up><Up><Enter> /* 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 |
