patch 8.0.0111

Problem:    The :history command is not tested.
Solution:   Add tests. (Dominique Pelle)
This commit is contained in:
Bram Moolenaar
2016-12-01 17:57:44 +01:00
parent 5a030a540f
commit eebd84eb94
3 changed files with 31 additions and 2 deletions

View File

@ -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