Mercurial > vim
comparison runtime/doc/editing.txt @ 2296:eb7be7b075a6 vim73
Support :browse for commands that use an error file argument. (Lech Lorens)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sun, 11 Jul 2010 16:58:51 +0200 |
parents | 7e1bd501306d |
children | 12b829477c60 |
comparison
equal
deleted
inserted
replaced
2295:b9bc9c5df131 | 2296:eb7be7b075a6 |
---|---|
1169 If you want to always use ":confirm", set the 'confirm' option. | 1169 If you want to always use ":confirm", set the 'confirm' option. |
1170 | 1170 |
1171 *:browse* *:bro* *E338* *E614* *E615* *E616* *E578* | 1171 *:browse* *:bro* *E338* *E614* *E615* *E616* *E578* |
1172 :bro[wse] {command} Open a file selection dialog for an argument to | 1172 :bro[wse] {command} Open a file selection dialog for an argument to |
1173 {command}. At present this works for |:e|, |:w|, | 1173 {command}. At present this works for |:e|, |:w|, |
1174 |:r|, |:saveas|, |:sp|, |:mkexrc|, |:mkvimrc|, | 1174 |:wall|, |:wq|, |:wqall|, |:x|, |:xall|, |:exit|, |
1175 |:mksession|, |:split|, |:vsplit|, and |:tabe|. | 1175 |:view|, |:sview|, |:r|, |:saveas|, |:sp|, |:mkexrc|, |
1176 |:mkvimrc|, |:mksession|, |:mkview|, |:split|, | |
1177 |:vsplit|, |:tabe|, |:tabnew|, |:cfile|, |:cgetfile|, | |
1178 |:caddfile|, |:lfile|, |:lgetfile|, |:laddfile|, | |
1179 |:diffsplit|, |:diffpatch|, |:open|, |:pedit|, | |
1180 |:redir|, |:source|, |:update|, |:visual|, |:vsplit|, | |
1181 and |:qall| if 'confirm' is set. | |
1176 {only in Win32, Athena, Motif, GTK and Mac GUI} | 1182 {only in Win32, Athena, Motif, GTK and Mac GUI} |
1177 When ":browse" is not possible you get an error | 1183 When ":browse" is not possible you get an error |
1178 message. If the |+browse| feature is missing or the | 1184 message. If the |+browse| feature is missing or the |
1179 {command} doesn't support browsing, the {command} is | 1185 {command} doesn't support browsing, the {command} is |
1180 executed without a dialog. | 1186 executed without a dialog. |
1181 ":browse set" works like |:options|. | 1187 ":browse set" works like |:options|. |
1188 See also |:oldfiles| for ":browse oldfiles". | |
1182 | 1189 |
1183 The syntax is best shown via some examples: > | 1190 The syntax is best shown via some examples: > |
1184 :browse e $vim/foo | 1191 :browse e $vim/foo |
1185 < Open the browser in the $vim/foo directory, and edit the | 1192 < Open the browser in the $vim/foo directory, and edit the |
1186 file chosen. > | 1193 file chosen. > |