summaryrefslogtreecommitdiff
path: root/runtime/doc/editing.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-04-23 18:40:21 +0200
committerBram Moolenaar <Bram@vim.org>2017-04-23 18:40:21 +0200
commit94237495c03f919a60b262fdcd3861e1931fc45a (patch)
treebf7e14b6101e7e375ffe7849d30e5507f020c88d /runtime/doc/editing.txt
parentd788f6fe89c77262c474de323f5dab6d1c814e27 (diff)
downloadvim-git-94237495c03f919a60b262fdcd3861e1931fc45a.tar.gz
Updated runtime files.
Diffstat (limited to 'runtime/doc/editing.txt')
-rw-r--r--runtime/doc/editing.txt9
1 files changed, 8 insertions, 1 deletions
diff --git a/runtime/doc/editing.txt b/runtime/doc/editing.txt
index 62bc062fe..25cbe9cbf 100644
--- a/runtime/doc/editing.txt
+++ b/runtime/doc/editing.txt
@@ -1,4 +1,4 @@
-*editing.txt* For Vim version 8.0. Last change: 2016 Nov 24
+*editing.txt* For Vim version 8.0. Last change: 2017 Apr 10
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1558,6 +1558,13 @@ If you want to automatically reload a file when it has been changed outside of
Vim, set the 'autoread' option. This doesn't work at the moment you write the
file though, only when the file wasn't changed inside of Vim.
+If you do not want to be asked or automatically reload the file, you can use
+this: >
+ set buftype=nofile
+
+Or, when starting gvim from a shell: >
+ gvim file.log -c "set buftype=nofile"
+
Note that if a FileChangedShell autocommand is defined you will not get a
warning message or prompt. The autocommand is expected to handle this.