aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorMichael Ennen <mike.ennen@gmail.com>2016-11-26 16:34:52 -0700
committerMichael Ennen <mike.ennen@gmail.com>2016-11-29 16:32:43 -0700
commitd2be11fbf21ee37d6ae86818f2c1790ecf8fecca (patch)
treeaaeef15cca0f276f6894331e6d9e68e5e2f23367 /runtime
parent3979c6cbed6399934a06da35881e4d351c588af0 (diff)
downloadrneovim-d2be11fbf21ee37d6ae86818f2c1790ecf8fecca.tar.gz
rneovim-d2be11fbf21ee37d6ae86818f2c1790ecf8fecca.tar.bz2
rneovim-d2be11fbf21ee37d6ae86818f2c1790ecf8fecca.zip
vim-patch:7.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) https://github.com/vim/vim/commit/451f849fd6282a4facd4f0f58af62837443fb5a6
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/message.txt13
1 files changed, 11 insertions, 2 deletions
diff --git a/runtime/doc/message.txt b/runtime/doc/message.txt
index d3eeecaf7c..fd66a5dafb 100644
--- a/runtime/doc/message.txt
+++ b/runtime/doc/message.txt
@@ -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,9 +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
*E222* *E228* *E232* *E256* *E293* *E298* *E304* *E317*