summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-12-01 17:57:44 +0100
committerBram Moolenaar <Bram@vim.org>2016-12-01 17:57:44 +0100
commiteebd84eb94ed7f59a06a52cb4863563642f58899 (patch)
tree4bf2824f76e8a33efed47900b27d3c35f722dc51 /runtime
parent5a030a540f4157d5c9905e3564282c92b4dcec9a (diff)
patch 8.0.0111v8.0.0111
Problem: The :history command is not tested. Solution: Add tests. (Dominique Pelle)
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/cmdline.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/runtime/doc/cmdline.txt b/runtime/doc/cmdline.txt
index 8eb3a9394d..e05e6d36e8 100644
--- a/runtime/doc/cmdline.txt
+++ b/runtime/doc/cmdline.txt
@@ -359,8 +359,11 @@ terminals)
List entries 6 to 12 from the search history: >
:history / 6,12
<
- List the recent five entries from all histories: >
- :history all -5,
+ List the penultimate entry from all histories: >
+ :history all -2
+<
+ List the most recent two entries from all histories: >
+ :history all -2,
:keepp[atterns] {command} *:keepp* *:keeppatterns*
Execute {command}, without adding anything to the search