summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-08-04 21:32:22 +0000
committerBram Moolenaar <Bram@vim.org>2005-08-04 21:32:22 +0000
commit0be6e647d10d792f9278e5b04ac3336eca813630 (patch)
tree152bf99d49628cd1b9754de75c04da020c7deab1
parent1d94f9b30eb9b90332d5043bc3c52b1841bcb7e6 (diff)
updated for version 7.0123v7.0123
-rw-r--r--runtime/doc/todo.txt2
-rw-r--r--runtime/doc/version7.txt30
-rw-r--r--src/ex_cmds.c22
3 files changed, 45 insertions, 9 deletions
diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt
index 858ada6473..ba45f2674a 100644
--- a/runtime/doc/todo.txt
+++ b/runtime/doc/todo.txt
@@ -1,4 +1,4 @@
-*todo.txt* For Vim version 7.0aa. Last change: 2005 Aug 01
+*todo.txt* For Vim version 7.0aa. Last change: 2005 Aug 02
VIM REFERENCE MANUAL by Bram Moolenaar
diff --git a/runtime/doc/version7.txt b/runtime/doc/version7.txt
index 87fb72b2bd..9ca05fc2ec 100644
--- a/runtime/doc/version7.txt
+++ b/runtime/doc/version7.txt
@@ -1,4 +1,4 @@
-*version7.txt* For Vim version 7.0aa. Last change: 2005 Aug 01
+*version7.txt* For Vim version 7.0aa. Last change: 2005 Aug 04
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -28,6 +28,7 @@ Internal grep |new-vimgrep|
Scroll back in messages |new-scroll-back|
POSIX compatibility |new-posix|
Debugger support |new-debug-support|
+Remote file explorer |new-netrw-explore|
Various new items |new-items-7|
IMPROVEMENTS |improvements-7|
@@ -300,6 +301,22 @@ balloon functionality. You can use it to show info for the word under the
mouse pointer.
+Remote file explorer *new-netrw-explore*
+--------------------
+
+The netrw plugin now also supports viewing a directory, when "scp://" is used.
+Deleting and renaming files is possible.
+
+To avoid duplicating a lot of code, the previous file explorer plugin has been
+integrated in the netrw plugin. This means browsing local and remote files
+works the same way.
+
+":browse edit" and ":browse split" use the netrw plugin when it's available
+and a GUI dialog is not possible.
+
+The netrw plugin is maintained by Charles Campbell.
+
+
Various new items *new-items-7*
-----------------
@@ -524,9 +541,6 @@ Mac: better integration with Xcode. Post a fake mouse-up event after the odoc
event and the drag receive handler to work around a stall after Vim loads a
file. Fixed an off-by-one line number error. (Da Woon Jung)
-The netrw plugin now also supports viewing a directory, when "scp://" is used.
-Deleting and renaming files is possible. (Charles Campbell)
-
Added the t_SI and t_EI escape sequences for starting and ending Insert mode.
To be used to set the cursor shape to a bar or a block. No default values,
they are not supported by termcap/terminfo.
@@ -734,6 +748,12 @@ The 's' flag is added to the search() and searchpair() function to set the
When 'verbose' is set the output of ":highlight" will show where a highlight
item was last set.
+For 'errorformat' it was not possible to have a file name that contains the
+character that follows after "%f". For example, in "%f:%l:%m" the file name
+could not contain ":". Now include the first ":" where the rest of the
+pattern matches. In the example a ":" not followed by a line number is
+included in the file name. (suggested by Emanuele Giaquinta)
+
==============================================================================
COMPILE TIME CHANGES *compile-changes-7*
@@ -1250,4 +1270,6 @@ At the more-prompt the last character in the last line wasn't drawn.
When deleting non-existing text while 'virtualedit' is set the '[ and '] marks
were not set.
+Win32: Could not use "**/" in 'path', it had to be "**\".
+
vim:tw=78:ts=8:ft=help:norl:
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index 5248246926..a58f91a6df 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -2952,11 +2952,25 @@ do_ecmd(fnum, ffname, sfname, eap, newlnum, flags)
#ifdef FEAT_BROWSE
if (cmdmod.browse)
{
- browse_file = do_browse(0, (char_u *)_("Edit File"), ffname,
+ if (
+# ifdef FEAT_GUI
+ !gui.in_use &&
+# endif
+ au_has_group((char_u *)"FileExplorer"))
+ {
+ /* No browsing supported but we do have the file explorer:
+ * Edit the directory. */
+ if (ffname == NULL || !mch_isdir(ffname))
+ ffname = (char_u *)".";
+ }
+ else
+ {
+ browse_file = do_browse(0, (char_u *)_("Edit File"), ffname,
NULL, NULL, NULL, curbuf);
- if (browse_file == NULL)
- goto theend;
- ffname = browse_file;
+ if (browse_file == NULL)
+ goto theend;
+ ffname = browse_file;
+ }
}
#endif
/* if no short name given, use ffname for short name */