diff options
author | Bram Moolenaar <Bram@vim.org> | 2004-10-12 19:54:52 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2004-10-12 19:54:52 +0000 |
commit | 5c4e21cf4dd92ebbc8681abd7516c86f902024c0 (patch) | |
tree | 672dee9332511adcaa9bb5a8af0ac4a24b23cee4 /runtime | |
parent | 7102bf07526e0bb6e2a58a21c5c994fa284cf3da (diff) | |
download | vim-5c4e21cf4dd92ebbc8681abd7516c86f902024c0.zip |
updated for version 7.0019
Diffstat (limited to 'runtime')
-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 ee2ac46cb..446251577 100644 --- a/runtime/doc/editing.txt +++ b/runtime/doc/editing.txt @@ -1,4 +1,4 @@ -*editing.txt* For Vim version 7.0aa. Last change: 2004 Oct 09 +*editing.txt* For Vim version 7.0aa. Last change: 2004 Oct 12 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1032,7 +1032,10 @@ Note: When the 'write' option is off, you are not able to write any file. executed like with ":!{cmd}", any '!' is replaced with the previous command |:!|. -The default [range] for the ":w" command is the whole buffer (1,$). +The default [range] for the ":w" command is the whole buffer (1,$). If you +write the whole buffer, it is no longer considered changed. Also when you +write it to a different file with ":w somefile"! + If a file name is given with ":w" it becomes the alternate file. This can be 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 |