summaryrefslogtreecommitdiffstats
path: root/runtime/doc/editing.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-08-03 18:35:36 +0200
committerBram Moolenaar <Bram@vim.org>2013-08-03 18:35:36 +0200
commit9d98fe9cae372d84d0b1f6b56eee4615c91b1307 (patch)
tree0f3f6df92038bc9f662e5027f5b05e51fc400bc8 /runtime/doc/editing.txt
parentf40f4ab8df0bb52a2d5f684d961b7c932c30e5df (diff)
Update runtime files.
Diffstat (limited to 'runtime/doc/editing.txt')
-rw-r--r--runtime/doc/editing.txt9
1 files changed, 5 insertions, 4 deletions
diff --git a/runtime/doc/editing.txt b/runtime/doc/editing.txt
index b726360dae..be29d9e4d0 100644
--- a/runtime/doc/editing.txt
+++ b/runtime/doc/editing.txt
@@ -1,4 +1,4 @@
-*editing.txt* For Vim version 7.4b. Last change: 2013 Feb 07
+*editing.txt* For Vim version 7.4b. Last change: 2013 Aug 03
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -185,12 +185,13 @@ If you want to automatically save the changes without asking, switch on the
that does not work for all commands.
If you want to keep the changed buffer without saving it, switch on the
-'hidden' option. See |hidden-buffer|.
+'hidden' option. See |hidden-buffer|. Some commands work like this even when
+'hidden' is not set, check the help for the command.
==============================================================================
2. Editing a file *edit-a-file*
- *:e* *:edit*
+ *:e* *:edit* *reload*
:e[dit] [++opt] [+cmd] Edit the current file. This is useful to re-edit the
current file, when it has been changed outside of Vim.
This fails when changes have been made to the current
@@ -199,7 +200,7 @@ If you want to keep the changed buffer without saving it, switch on the
Also see |++opt| and |+cmd|.
{Vi: no ++opt}
- *:edit!*
+ *:edit!* *discard*
:e[dit]! [++opt] [+cmd]
Edit the current file always. Discard any changes to
the current buffer. This is useful if you want to