diff options
Diffstat (limited to 'vim/prompt')
| -rw-r--r-- | vim/prompt/history.in | 3 | ||||
| -rw-r--r-- | vim/prompt/history.keys | 6 |
2 files changed, 9 insertions, 0 deletions
diff --git a/vim/prompt/history.in b/vim/prompt/history.in new file mode 100644 index 0000000..a92d664 --- /dev/null +++ b/vim/prompt/history.in @@ -0,0 +1,3 @@ +line 1 +line 2 +line 3 diff --git a/vim/prompt/history.keys b/vim/prompt/history.keys new file mode 100644 index 0000000..da0b6ac --- /dev/null +++ b/vim/prompt/history.keys @@ -0,0 +1,6 @@ +:+-s/line/word/<Enter> /* replace something on first line */ +:2<Enter> /* select second line */ +:<Up><Up><Enter> /* repeat replacement */ +:e<Backspace><Backspace> /* simulate a typo on the command line */ +:3<Enter> /* select third line */ +:<Up><Up><Enter> /* repeat replacement */ |
