summaryrefslogtreecommitdiff
path: root/runtime/doc/starting.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-02-15 21:41:42 +0100
committerBram Moolenaar <Bram@vim.org>2020-02-15 21:41:42 +0100
commitebdf3c964a901fc00c9009689f7cfda478342c51 (patch)
treee5faed056bf1d5daba27b4b6edb2ee2bda30c4c4 /runtime/doc/starting.txt
parentc2adc00fa74530e7f9d2cd31ce39252e86465dd0 (diff)
downloadvim-git-ebdf3c964a901fc00c9009689f7cfda478342c51.tar.gz
Update runtime files.
Diffstat (limited to 'runtime/doc/starting.txt')
-rw-r--r--runtime/doc/starting.txt12
1 files changed, 7 insertions, 5 deletions
diff --git a/runtime/doc/starting.txt b/runtime/doc/starting.txt
index d54278761..b9a237071 100644
--- a/runtime/doc/starting.txt
+++ b/runtime/doc/starting.txt
@@ -1,4 +1,4 @@
-*starting.txt* For Vim version 8.2. Last change: 2020 Jan 20
+*starting.txt* For Vim version 8.2. Last change: 2020 Feb 04
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -58,10 +58,12 @@ filename One or more file names. The first one will be the current
that is read from stdin. The commands that would normally be
read from stdin will now be read from stderr. Example: >
find . -name "*.c" -print | vim -
-< The buffer will not be marked as modified, so that it's easy
- to exit. Be careful to mark it as modified if you don't want
- to accidentally lose it. Example: >
- ls | view -
+
+< The buffer will be marked as modified, so that you are
+ reminded to save the text when trying to exit. If you don't
+ like that, put this these lines in your vimrc: >
+ " Don't set 'modified' when reading from stdin
+ au StdinReadPost * set nomodified
<
Starting in Ex mode: >
ex -