summaryrefslogtreecommitdiff
path: root/runtime/doc/message.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-04-14 17:16:22 +0200
committerBram Moolenaar <Bram@vim.org>2016-04-14 17:16:22 +0200
commit451f849fd6282a4facd4f0f58af62837443fb5a6 (patch)
treedcadb8161d6fc31d17394ce778067fd4625e2ddd /runtime/doc/message.txt
parent0f518a8f4d4be4cac10389680f6bd5e3781f94b0 (diff)
downloadvim-git-451f849fd6282a4facd4f0f58af62837443fb5a6.tar.gz
patch 7.4.1735v7.4.1735
Problem: It is not possible to only see part of the message history. It is not possible to clear messages. Solution: Add a count to ":messages" and a clear argument. (Yasuhiro Matsumoto)
Diffstat (limited to 'runtime/doc/message.txt')
-rw-r--r--runtime/doc/message.txt14
1 files changed, 12 insertions, 2 deletions
diff --git a/runtime/doc/message.txt b/runtime/doc/message.txt
index 56745f396..d41915e00 100644
--- a/runtime/doc/message.txt
+++ b/runtime/doc/message.txt
@@ -1,4 +1,4 @@
-*message.txt* For Vim version 7.4. Last change: 2016 Feb 27
+*message.txt* For Vim version 7.4. Last change: 2016 Apr 14
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -19,6 +19,15 @@ The ":messages" command can be used to view previously given messages. This
is especially useful when messages have been overwritten or truncated. This
depends on the 'shortmess' option.
+ :messages Show all messages.
+
+ :{count}messages Show the {count} most recent messages.
+
+ :messages clear Clear all messages.
+
+ :{count}messages clear Clear messages, keeping only the {count} most
+ recent ones.
+
The number of remembered messages is fixed at 20 for the tiny version and 200
for other versions.
@@ -58,8 +67,9 @@ If you are lazy, it also works without the shift key: >
When an error message is displayed, but it is removed before you could read
it, you can see it again with: >
:echo errmsg
-or view a list of recent messages with: >
+Or view a list of recent messages with: >
:messages
+See `:messages` above.
LIST OF MESSAGES