diff runtime/doc/editing.txt @ 11400:0f8713fe20dc

Updated runtime files. commit https://github.com/vim/vim/commit/94237495c03f919a60b262fdcd3861e1931fc45a Author: Bram Moolenaar <Bram@vim.org> Date: Sun Apr 23 18:40:21 2017 +0200 Updated runtime files.
author Christian Brabandt <cb@256bit.org>
date Sun, 23 Apr 2017 18:45:04 +0200
parents d0a20101ecb2
children 49c12c93abf3
line wrap: on
line diff
--- 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 fi
 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.