diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-11-21 23:09:50 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-11-21 23:09:50 +0100 |
commit | a2a80162deb1e96e16b097dfe48b61b6eb0824bf (patch) | |
tree | de33cc8d6163c28aa105a087126dc565d540bb55 /runtime/doc/editing.txt | |
parent | 52dbb5ea7fde4a77178bc59e2383ca40df503812 (diff) | |
download | vim-git-a2a80162deb1e96e16b097dfe48b61b6eb0824bf.tar.gz |
Update runtime files.
Diffstat (limited to 'runtime/doc/editing.txt')
-rw-r--r-- | runtime/doc/editing.txt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/runtime/doc/editing.txt b/runtime/doc/editing.txt index 714bc65ad..4ade4aa7c 100644 --- a/runtime/doc/editing.txt +++ b/runtime/doc/editing.txt @@ -1,4 +1,4 @@ -*editing.txt* For Vim version 8.0. Last change: 2017 Aug 21 +*editing.txt* For Vim version 8.0. Last change: 2017 Nov 16 VIM REFERENCE MANUAL by Bram Moolenaar @@ -900,7 +900,7 @@ Note: When the 'write' option is off, you are not able to write any file. *:w* *:write* *E502* *E503* *E504* *E505* - *E512* *E514* *E667* *E796* + *E512* *E514* *E667* *E796* *E949* :w[rite] [++opt] Write the whole buffer to the current file. This is the normal way to save changes to a file. It fails when the 'readonly' option is set or when there is @@ -956,6 +956,9 @@ used, for example, when the write fails and you want to try again later with ":w #". This can be switched off by removing the 'A' flag from the 'cpoptions' option. +Note that the 'fsync' option matters here. If it's set it may make writes +slower (but safer). + *:sav* *:saveas* :sav[eas][!] [++opt] {file} Save the current buffer under the name {file} and set |