Mercurial > vim
comparison runtime/doc/message.txt @ 8897:a410390e340b v7.4.1735
commit https://github.com/vim/vim/commit/451f849fd6282a4facd4f0f58af62837443fb5a6
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Apr 14 17:16:22 2016 +0200
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)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 14 Apr 2016 17:30:07 +0200 |
parents | 88207f4b861a |
children | 9f921133ee90 |
comparison
equal
deleted
inserted
replaced
8896:fc57c7ed0642 | 8897:a410390e340b |
---|---|
1 *message.txt* For Vim version 7.4. Last change: 2016 Feb 27 | 1 *message.txt* For Vim version 7.4. Last change: 2016 Apr 14 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
16 1. Old messages *:messages* *:mes* *message-history* | 16 1. Old messages *:messages* *:mes* *message-history* |
17 | 17 |
18 The ":messages" command can be used to view previously given messages. This | 18 The ":messages" command can be used to view previously given messages. This |
19 is especially useful when messages have been overwritten or truncated. This | 19 is especially useful when messages have been overwritten or truncated. This |
20 depends on the 'shortmess' option. | 20 depends on the 'shortmess' option. |
21 | |
22 :messages Show all messages. | |
23 | |
24 :{count}messages Show the {count} most recent messages. | |
25 | |
26 :messages clear Clear all messages. | |
27 | |
28 :{count}messages clear Clear messages, keeping only the {count} most | |
29 recent ones. | |
21 | 30 |
22 The number of remembered messages is fixed at 20 for the tiny version and 200 | 31 The number of remembered messages is fixed at 20 for the tiny version and 200 |
23 for other versions. | 32 for other versions. |
24 | 33 |
25 *g<* | 34 *g<* |
56 2. Error messages *error-messages* *errors* | 65 2. Error messages *error-messages* *errors* |
57 | 66 |
58 When an error message is displayed, but it is removed before you could read | 67 When an error message is displayed, but it is removed before you could read |
59 it, you can see it again with: > | 68 it, you can see it again with: > |
60 :echo errmsg | 69 :echo errmsg |
61 or view a list of recent messages with: > | 70 Or view a list of recent messages with: > |
62 :messages | 71 :messages |
72 See `:messages` above. | |
63 | 73 |
64 | 74 |
65 LIST OF MESSAGES | 75 LIST OF MESSAGES |
66 *E222* *E228* *E232* *E256* *E293* *E298* *E304* *E317* | 76 *E222* *E228* *E232* *E256* *E293* *E298* *E304* *E317* |
67 *E318* *E356* *E438* *E439* *E440* *E316* *E320* *E322* | 77 *E318* *E356* *E438* *E439* *E440* *E316* *E320* *E322* |