summaryrefslogtreecommitdiffstats
path: root/runtime/doc/editing.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-07-11 16:58:51 +0200
committerBram Moolenaar <Bram@vim.org>2010-07-11 16:58:51 +0200
commit9028b10dfe3a00e505bf1b720f515dab91913b5e (patch)
tree637b3f40fd0c18f01fd682273e266f8fe2c3507f /runtime/doc/editing.txt
parent7e6d3bd3da555e151ba518081a964a0cdb39ac33 (diff)
Support :browse for commands that use an error file argument. (Lech Lorens)
Diffstat (limited to 'runtime/doc/editing.txt')
-rw-r--r--runtime/doc/editing.txt11
1 files changed, 9 insertions, 2 deletions
diff --git a/runtime/doc/editing.txt b/runtime/doc/editing.txt
index a882d9912a..bc141c52c0 100644
--- a/runtime/doc/editing.txt
+++ b/runtime/doc/editing.txt
@@ -1171,14 +1171,21 @@ If you want to always use ":confirm", set the 'confirm' option.
*:browse* *:bro* *E338* *E614* *E615* *E616* *E578*
:bro[wse] {command} Open a file selection dialog for an argument to
{command}. At present this works for |:e|, |:w|,
- |:r|, |:saveas|, |:sp|, |:mkexrc|, |:mkvimrc|,
- |:mksession|, |:split|, |:vsplit|, and |:tabe|.
+ |:wall|, |:wq|, |:wqall|, |:x|, |:xall|, |:exit|,
+ |:view|, |:sview|, |:r|, |:saveas|, |:sp|, |:mkexrc|,
+ |:mkvimrc|, |:mksession|, |:mkview|, |:split|,
+ |:vsplit|, |:tabe|, |:tabnew|, |:cfile|, |:cgetfile|,
+ |:caddfile|, |:lfile|, |:lgetfile|, |:laddfile|,
+ |:diffsplit|, |:diffpatch|, |:open|, |:pedit|,
+ |:redir|, |:source|, |:update|, |:visual|, |:vsplit|,
+ and |:qall| if 'confirm' is set.
{only in Win32, Athena, Motif, GTK and Mac GUI}
When ":browse" is not possible you get an error
message. If the |+browse| feature is missing or the
{command} doesn't support browsing, the {command} is
executed without a dialog.
":browse set" works like |:options|.
+ See also |:oldfiles| for ":browse oldfiles".
The syntax is best shown via some examples: >
:browse e $vim/foo