Mercurial > vim
diff runtime/doc/message.txt @ 17909:cc953757ed2a
Runtime files update.
Commit: https://github.com/vim/vim/commit/06fe74aef72606ac34c9f494186e52614b8fb59a
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Aug 31 16:20:32 2019 +0200
Runtime files update.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 31 Aug 2019 16:30:04 +0200 |
parents | c002c4899529 |
children | 375a7ecdb351 |
line wrap: on
line diff
--- a/runtime/doc/message.txt +++ b/runtime/doc/message.txt @@ -1,4 +1,4 @@ -*message.txt* For Vim version 8.1. Last change: 2019 May 18 +*message.txt* For Vim version 8.1. Last change: 2019 Aug 23 VIM REFERENCE MANUAL by Bram Moolenaar @@ -479,6 +479,9 @@ out-of-memory situation. First make sur try to solve the memory shortage. To stay on the safe side, exit Vim and start again. +If this happens while Vim is still initializing, editing files is very +unlikely to work, therefore Vim will exit with value 123. + Buffers are only partly kept in memory, thus editing a very large file is unlikely to cause an out-of-memory situation. Undo information is completely in memory, you can reduce that with these options: @@ -809,6 +812,8 @@ To reduce the number of hit-enter prompt - Set 'cmdheight' to 2 or higher. - Add flags to 'shortmess'. - Reset 'showcmd' and/or 'ruler'. +- Make sure `:echo` text is shorter than or equal to |v:echospace| screen + cells. If your script causes the hit-enter prompt and you don't know why, you may find the |v:scrollstart| variable useful.