aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorKunMing Xie <qqzz014@gmail.com>2017-08-07 05:42:52 +0800
committerJustin M. Keyes <justinkz@gmail.com>2017-08-06 23:42:52 +0200
commit2753d61e4cb037323d78ed3fd978a10694c902c6 (patch)
tree32508d91df7b98baeae52288b8cf0aa08b40b80a /runtime
parent120d1b80c9aa3ad39902310a99f5d19f41ca4bb8 (diff)
downloadrneovim-2753d61e4cb037323d78ed3fd978a10694c902c6.tar.gz
rneovim-2753d61e4cb037323d78ed3fd978a10694c902c6.tar.bz2
rneovim-2753d61e4cb037323d78ed3fd978a10694c902c6.zip
vim-patch:8.0.0111 (#7090)
Problem: The :history command is not tested. Solution: Add tests. (Dominique Pelle) https://github.com/vim/vim/commit/eebd84eb94ed7f59a06a52cb4863563642f58899
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 d870a72600..652487d8ab 100644
--- a/runtime/doc/cmdline.txt
+++ b/runtime/doc/cmdline.txt
@@ -327,8 +327,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