summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'runtime')
-rw-r--r--runtime/KVim.desktop44
-rw-r--r--runtime/doc/autocmd.txt20
-rw-r--r--runtime/doc/eval.txt10
-rw-r--r--runtime/doc/gui.txt16
-rw-r--r--runtime/doc/gui_x11.txt71
-rw-r--r--runtime/doc/options.txt16
-rw-r--r--runtime/doc/os_amiga.txt8
-rw-r--r--runtime/doc/pi_netrw.txt117
-rw-r--r--runtime/doc/repeat.txt11
-rw-r--r--runtime/doc/tags33
-rw-r--r--runtime/doc/todo.txt56
-rw-r--r--runtime/doc/usr_27.txt8
-rw-r--r--runtime/doc/version7.txt25
-rw-r--r--runtime/filetype.vim3
-rw-r--r--runtime/ftplugin/aspvbs.vim21
-rw-r--r--runtime/hi16-action-make.pngbin0 -> 454 bytes
-rw-r--r--runtime/hi22-action-make.pngbin0 -> 425 bytes
-rw-r--r--runtime/kde-tips9314
-rw-r--r--runtime/kvim32x32.pngbin0 -> 2471 bytes
-rw-r--r--runtime/kvim48x48.pngbin0 -> 4565 bytes
-rw-r--r--runtime/kvim64x64.pngbin0 -> 7046 bytes
-rw-r--r--runtime/menu.vim4
-rw-r--r--runtime/plugin/NetrwFileHandlers.vim26
-rw-r--r--runtime/plugin/netrw.vim533
-rw-r--r--runtime/syntax/netrwlist.vim21
-rw-r--r--runtime/tutor/tutor646
26 files changed, 10487 insertions, 516 deletions
diff --git a/runtime/KVim.desktop b/runtime/KVim.desktop
new file mode 100644
index 0000000000..25ef20a56f
--- /dev/null
+++ b/runtime/KVim.desktop
@@ -0,0 +1,44 @@
+# KDE Config File
+[Desktop Entry]
+Type=Application
+Exec=kvim -f %F
+Icon=kvim
+MiniIcon=kvim
+DocPath=kvim/index.html
+Comment=
+Comment[xx]=xx
+Terminal=0
+Name=KVim
+Name[eo]=VIM-fasado
+Name[sv]=Kvim
+Name[xx]=xx
+Comment=Text Editor
+Comment[ar]=محرر نصوص
+Comment[bg]=Текст Редактор
+Comment[de]=Texteditor
+Comment[el]=Διορθωτής Κειμένου
+Comment[eo]=Tekstredaktilo
+Comment[et]=Tekstiredaktor
+Comment[eu]=Testu Editorea
+Comment[fi]=Tekstieditori
+Comment[he]=עורך טקסט
+Comment[is]=Textaritill
+Comment[ja]=テキストエディタ
+Comment[lt]=Teksto redaktorius
+Comment[mt]=Editur tat-test
+Comment[pt_BR]=Editor de Texto
+Comment[ro]=Editor de text
+Comment[ru]=редактор
+Comment[sk]=Textový editor
+Comment[sl]=Urejevalnik besedil
+Comment[ta]=¯¨Ã ¦¾¡ÌôÀ¡Ç÷
+Comment[tr]=Metin Düzenleyici
+Comment[uk]=Редактор текстів
+Comment[vi]=Trình soạn văn bản
+Comment[xx]=xx
+Comment[zh_CN]=文本编辑器
+Comment[zh_TW]=文字編輯器
+MimeType=application/mathml+xml;application/xhtml+xml;application/x-perl;application/x-python;application/x-shellscript;audio/x-mpegurl;audio/x-scpls;image/svg+xml;message/news;message/rfc822;text/calendar;text/css;text/english;text/html;text/mrml;text/plain;text/rdf;text/rss;text/rtf;text/sgml;text/vnd.wap.wml;text/x-adasrc;text/x-bibtex;text/x-chdr;text/x-c++hdr;text/x-csrc;text/x-c++src;text/x-csv;text/x-diff;text/x-java;text/x-katefilelist;text/x-latex;text/x-log;text/x-lyx;text/x-makefile;text/xmcd;text/xml;text/x-moc;text/x-mswinurl;text/x-objcsrc;text/x-pascal;text/x-perl;text/x-python;text/x-tcl;text/x-tex;text/x-vcalendar;text/x-vcard;text/x-xslfo;text/x-xslt
+X-KDE-StartupNotify=true
+X-KDE-AuthorizeAction=shell access
+
diff --git a/runtime/doc/autocmd.txt b/runtime/doc/autocmd.txt
index 4cc7472112..e723db5e81 100644
--- a/runtime/doc/autocmd.txt
+++ b/runtime/doc/autocmd.txt
@@ -1,4 +1,4 @@
-*autocmd.txt* For Vim version 7.0aa. Last change: 2004 Apr 20
+*autocmd.txt* For Vim version 7.0aa. Last change: 2004 Jun 30
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -304,7 +304,8 @@ FocusGained When Vim got input focus. Only for the GUI
*FocusLost*
FocusLost When Vim lost input focus. Only for the GUI
version and a few console versions where this
- can be detected.
+ can be detected. May also happen when a
+ dialog pops up.
*FuncUndefined*
FuncUndefined When a user function is used but it isn't
defined. Useful for defining a function only
@@ -467,6 +468,21 @@ VimLeave Before exiting Vim, just after writing the
*EncodingChanged*
EncodingChanged Fires off when the 'encoding' option is
changed. Useful to set up fonts, for example.
+ *InsertEnter*
+InsertEnter When starting Insert mode. Also for Replace
+ mode and Virtual Replace mode. The
+ |v:insertmode| variable indicates the mode.
+ Be careful not to move the cursor or do
+ anything else that the user does not expect.
+ *InsertChange*
+InsertChange When typing <Insert> while in Insert or
+ Replace mode. The |v:insertmode| variable
+ indicates the new mode.
+ Be careful not to move the cursor or do
+ anything else that the user does not expect.
+ *InsertLeave*
+InsertLeave When leaving Insert mode. Also when using
+ CTRL-O |i_CTRL-O|.
*FileEncoding*
FileEncoding Obsolete. It still works and is equivalent
to |EncodingChanged|.
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index 9d39f61f61..14d0dd8037 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -1,4 +1,4 @@
-*eval.txt* For Vim version 7.0aa. Last change: 2004 Jun 22
+*eval.txt* For Vim version 7.0aa. Last change: 2004 Jun 30
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -679,6 +679,13 @@ v:foldend Used for 'foldtext': last line of closed fold.
v:foldstart Used for 'foldtext': first line of closed fold.
Read-only. |fold-foldtext|
+ *v:insertmode* *insertmode-variable*
+v:insertmode Used for the |InsertEnter| and |InsertChange| autocommand
+ events. Values:
+ i Insert mode
+ r Replace mode
+ v Virtual Replace mode
+
*v:lang* *lang-variable*
v:lang The current locale setting for messages of the runtime
environment. This allows Vim scripts to be aware of the
@@ -2765,6 +2772,7 @@ gui_athena Compiled with Athena GUI.
gui_beos Compiled with BeOS GUI.
gui_gtk Compiled with GTK+ GUI (any version).
gui_gtk2 Compiled with GTK+ 2 GUI (gui_gtk is also defined).
+gui_kde Compiled with KDE GUI |KVim|
gui_mac Compiled with Macintosh GUI.
gui_motif Compiled with Motif GUI.
gui_photon Compiled with Photon GUI.
diff --git a/runtime/doc/gui.txt b/runtime/doc/gui.txt
index 2e59cc0841..b83acd6c22 100644
--- a/runtime/doc/gui.txt
+++ b/runtime/doc/gui.txt
@@ -25,8 +25,8 @@ Other GUI documentation:
First you must make sure you actually have a version of Vim with the GUI code
included. You can check this with the ":version" command, it should include
-"+GUI_Athena", "+GUI_BeOS", "+GUI_GTK", "+GUI_Motif" or "MS-Windows ... bit
-GUI version".
+"+GUI_Athena", "+GUI_BeOS", "+GUI_GTK", "+GUI_KDE", "+GUI_Motif" or
+"MS-Windows ... bit GUI version".
How to start the GUI depends on the system used. Mostly you can run the
GUI version of Vim with:
@@ -94,8 +94,8 @@ There are a number of options which only have meaning in the GUI version of
Vim. These are 'guicursor', 'guifont', 'guipty' and 'guioptions'. They are
documented in |options.txt| with all the other options.
-If using the Motif or Athena version of the GUI (but not for the GTK+ or Win32
-version), a number of X resources are available. See |gui-resources|.
+If using the Motif or Athena version of the GUI (but not for the KDE, GTK+ or
+Win32 version), a number of X resources are available. See |gui-resources|.
Another way to set the colors for different occasions is with highlight
groups. The "Normal" group is used to set the background and foreground
@@ -479,7 +479,7 @@ a menu entry. Hit <Enter> to execute it. Hit <Esc> if you want to cancel.
This does require the |+menu| feature enabled at compile time.
*tear-off-menus*
-GTK+ and Motif support Tear-off menus. These are sort of sticky menus or
+KDE, GTK+ and Motif support Tear-off menus. These are sort of sticky menus or
pop-up menus that are present all the time. If the resizing does not work
correctly, this may be caused by using something like "Vim*geometry" in the
defaults. Use "Vim.geometry" instead.
@@ -646,8 +646,8 @@ because the item will never be selected. Use a single colon to keep it
simple.
*gui-toolbar*
-The toolbar is currently available in the Win32, Athena, Motif, GTK+ (X11) and
-Photon GUI. It should turn up in other GUIs in due course. The default
+The toolbar is currently available in the Win32, Athena, Motif, GTK+ (X11),
+KDE and Photon GUI. It should turn up in other GUIs in due course. The default
toolbar is setup in menu.vim.
The display of the toolbar is controlled by the 'guioptions' letter 'T'. You
can thus have menu & toolbar together, or either on its own, or neither.
@@ -735,7 +735,7 @@ from the main menu bar. You must then use the |:popup| or |:tearoff| command
to display it.
*popup-menu*
-In the Win32, GTK+, Motif, Athena and Photon GUI, you can define the special
+In the Win32, KDE, GTK+, Motif, Athena and Photon GUI, you can define the special
menu "PopUp". This is the menu that is displayed when the right mouse button
is pressed, if 'mousemodel' is set to popup or popup_setpos.
diff --git a/runtime/doc/gui_x11.txt b/runtime/doc/gui_x11.txt
index d547302296..3e3a8e40cc 100644
--- a/runtime/doc/gui_x11.txt
+++ b/runtime/doc/gui_x11.txt
@@ -12,8 +12,9 @@ Vim's Graphical User Interface *gui-x11* *GUI-X11*
4. Various |gui-x11-various|
5. GTK version |gui-gtk|
6. GNOME version |gui-gnome|
-7. Compiling |gui-x11-compiling|
-8. X11 selection mechanism |x11-selection|
+7. KDE version |gui-kde|
+8. Compiling |gui-x11-compiling|
+9. X11 selection mechanism |x11-selection|
Other relevant documentation:
|gui.txt| For generic items of the GUI.
@@ -59,7 +60,7 @@ flag in 'guioptions'. |-f|.
==============================================================================
2. GUI Resources *gui-resources* *.Xdefaults*
-If using the Motif or Athena version of the GUI (not for the GTK+ or Win32
+If using the Motif or Athena version of the GUI (not for the KDE, GTK+ or Win32
version), a number of X resources are available. You should use Vim's class
"Vim" when setting these. They are as follows:
@@ -434,7 +435,61 @@ the WM to identify the window by restoring the window role (using the |--role|
command line argument).
==============================================================================
-7. Compiling *gui-x11-compiling*
+7. KDE version *gui-kde* *KDE* *KVim*
+
+The KDE version of Vim works with KDE 2.x and KDE 3.x.
+KVim (name code for gui-kde) does not use traditional X settings for its
+configuration.
+Most important difference is the font handling, KVim uses QFont to display the
+text. To set your font use the following syntax :
+>
+ :set guifont=Fixed\ [Misc]/10/-1/5/50/0/0/0/1/0
+<
+the '10' value is the font size, other settings concerns more specific Qt
+options which you should not need to care with.
+The suggested way to choose your font is through the font selection dialog
+available with the command :
+ :set guifont=*
+
+Note: X Font names are not supported any more, so if you use GVim too, you'll
+have to set something like this in your ~/.gvimrc : >
+
+ if has("gui_kde")
+ :set guifont=Fixed\ [Misc]/10/-1/5/50/0/0/0/1/0
+ else if has("gui_gtk")
+ :set guifont=-misc-fixed-medium-r-normal-*-*-100-*-*-c-*-iso10646-1
+ endif
+<
+ *antialias*
+KVim uses antialias for its font, so that the text looks better, to disable
+this you have to refer to Qt's documentation (export QT_XFT=0 for QT 2.x).
+
+KDE provides some other features, like being able to move the menubar and the
+toolbar wherever you want around the text area.
+
+ *kde-toolbar*
+KVim can be used with a KDE-look toolbar instead of Vim's default toolbar. To
+enable this feature you have to run the configure script with the
+--enable-kde-toolbar switch. It may be moved to a runtime option in the
+future.
+
+ *DCOP*
+Since Vim 6.0, the new ClientServer feature has been added, it works fine in
+KVim too. KVim also provides its own communication scheme based on DCOP. This
+is mainly used by the |vimpart| but can freely be used by other applications
+or manually through KDE's DCOP tools. The DCOP servername is synchronized with
+the X11 servername so that it's easier to identify the same KVim through the
+two communication systems.
+
+ *vimpart* *vim-kpart*
+KVim developers are also working on a component to allow embedding of Vim into
+KDE's applications. As of this writing, the component is working and can be
+used in different KDE applications. New KDE applications should support it
+soon. To get more information about this component, refer to
+http://freehackers.org/kvim or to the KDE project.
+
+==============================================================================
+8. Compiling *gui-x11-compiling*
If using X11, Vim's Makefile will by default first try to find the necessary
GTK+ files on your system. If the GTK+ files cannot be found, then the Motif
@@ -489,6 +544,12 @@ menus look a bit better. Edit the Makefile and look for "XAW_LIB". The
scrollbars will remain the same, because Vim has its own, which are already
3D (in fact, they look more like Motif).
+ *gui-x11-kde*
+For Vim-KDE, you need at least Qt(>=2.x) and the corresponding kdelibs.
+To compile, you must use the --with-qt-dir configure flag because QTDIR is not
+automatically detected yet. Giving KDE's directories to the configure script
+may also help in some cases.
+
*gui-x11-neXtaw*
The neXtaw version is mostly like Athena, but uses different widgets.
@@ -499,7 +560,7 @@ X11R5 with a library for X11R6 probably doesn't work (although the linking
won't give an error message, Vim will crash later).
==============================================================================
-8. X11 selection mechanism *x11-selection*
+9. X11 selection mechanism *x11-selection*
If using X11, in either the GUI or an xterm with an X11-aware Vim, then Vim
provides varied access to the X11 selection and clipboard. These are accessed
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index 297012d475..bfaad469dc 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -1,4 +1,4 @@
-*options.txt* For Vim version 7.0aa. Last change: 2004 Jun 21
+*options.txt* For Vim version 7.0aa. Last change: 2004 Jun 28
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -468,10 +468,10 @@ short for "example:").
*modeline-local*
The options are set like with ":setlocal": The new value only applies to the
-buffer that contains the window. Although it's possible to set global options
-from a modeline, this is unusual. If you have two windows open and the files
-in it set the same global option to a different value, the result depends on
-which one was opened last.
+buffer and window that contain the file. Although it's possible to set global
+options from a modeline, this is unusual. If you have two windows open and
+the files in it set the same global option to a different value, the result
+depends on which one was opened last.
*modeline-version*
If the modeline is only to be used for some versions of Vim, the version
@@ -5436,7 +5436,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|shift-left-right|.
What gets inserted (a Tab or spaces) depends on the 'expandtab'
option. Also see |ins-expandtab|. When 'expandtab' is not set, the
- number of spaces minimized by using <Tab>s.
+ number of spaces is minimized by using <Tab>s.
NOTE: This option is reset when 'compatible' is set.
*'softtabstop'* *'sts'*
@@ -5480,9 +5480,9 @@ A jump table for the options with a short description can be found at |Q_op|.
global
{not in Vi}
When "on" the commands listed below move the cursor to the first
- blank of the line. When off the cursor is kept in the same column
+ non-blank of the line. When off the cursor is kept in the same column
(if possible). This applies to the commands: CTRL-D, CTRL-U, CTRL-B,
- CTRL-F, "G", "H", "M", "L", , and to the commands "d", "<<" and ">>"
+ CTRL-F, "G", "H", "M", "L", gg, and to the commands "d", "<<" and ">>"
with a linewise operator, with "%" with a count and to buffer changing
commands (CTRL-^, :bnext, :bNext, etc.). Also for an Ex command that
only has a line number, e.g., ":25" or ":+".
diff --git a/runtime/doc/os_amiga.txt b/runtime/doc/os_amiga.txt
index fd215834f3..069e76964e 100644
--- a/runtime/doc/os_amiga.txt
+++ b/runtime/doc/os_amiga.txt
@@ -1,4 +1,4 @@
-*os_amiga.txt* For Vim version 7.0aa. Last change: 2004 Apr 25
+*os_amiga.txt* For Vim version 7.0aa. Last change: 2004 Jun 28
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -30,6 +30,12 @@ the |+digraphs| feature. If you want to use Vim with other terminals you can
recompile with the TERMCAP option. Vim compiles with Manx 5.x and SAS 6.x.
See the makefiles and feature.h.
+If you notice Vim crashes on some files when syntax highlighting is on, or
+when using a search pattern with nested wildcards, it might be that the stack
+is too small. Try increasing the stack size. In a shell use the Stack
+command before launching Vim. On the Workbench, select the Vim icon, use the
+workbench "Info" menu and change the Stack field in the form.
+
If you want to use different colors set the termcap codes:
t_mr (for inverted text)
t_md (for bold text)
diff --git a/runtime/doc/pi_netrw.txt b/runtime/doc/pi_netrw.txt
index 0a13dc2510..8112af86b6 100644
--- a/runtime/doc/pi_netrw.txt
+++ b/runtime/doc/pi_netrw.txt
@@ -1,4 +1,4 @@
-*pi_netrw.txt* For Vim version 6.2. Last change: Jun 15, 2004
+*pi_netrw.txt For Vim version 6.2. Last change: Jun 25, 2004
VIM REFERENCE MANUAL by Charles E. Campbell, Jr.
@@ -16,7 +16,7 @@
4. Transparent File Transfer...........................|netrw-transparent|
5. Ex Commands.........................................|netrw-ex|
6. Variables and Options...............................|netrw-var|
-7. Remote Directory Listing............................|netrw-dir|
+7. Remote Directory Browser............................|netrw-browse|
8. Debugging...........................................|netrw-debug|
9. History.............................................|netrw-history|
10. Credits.............................................|netrw-credits|
@@ -493,28 +493,116 @@ from <netrw.vim> itself:
>
==============================================================================
-7. Remote Directory Listing *netrw-dir* *netrw-list*
+7. Remote Directory Browser *netrw-browse* *netrw-dir* *netrw-list*
+>
+ ------- -----------
+ Command Explanation
+ ------- -----------
+ <cr> Netrw will enter the directory or read the file
+ <del> Netrw will attempt to remove the file/directory
+ D Netrw will attempt to remove the file(s)/directory(ies)
+ R Netrw will attempt to rename the file(s)/directory(ies)
+ - Makes Netrw go up one directory
+ a Show all of a directory (temporarily ignore g:netrw_list_hide)
+ o Enter the file/directory under the cursor in a new browser
+ window. A horizontal split is used.
+ v Enter the file/directory under the cursor in a new browser
+ window. A vertical split is used.
+ x Apply a function to a file.
+ <c-l> Causes Netrw to refresh the directory listing
+ ? Causes Netrw to issue help
+<
+ *netrw-browse-var*
+>
+ --- -----------
+ Var Explanation
+ --- -----------
+ g:netrw_list_cmd supports listing
+ g:netrw_rm_cmd supports removing files
+ g:netrw_rmf_cmd supports removing softlinks to directories
+ g:netrw_rmdir_cmd supports removing directories
+ g:netrw_winsize specify initial size of new o/v windows
+ g:netrw_list_hide comma separated list of patterns for
+ hiding files
+<
+Netrw supports the browsing of directories on remote hosts, including
+generating listing directories, entering directories, editing files
+therein, deleting files/directories, and moving (renaming) files and
+directories.
-Netrw supports listing (browsing) directories on remote hosts; simply attempt
-to read a "file" with a trailing slash and it will be interpreted as a
-request to browse a directory:
+To enter the netrw directory browser, simply attempt to read a "file" with a
+trailing slash and it will be interpreted as a request to list a directory:
vim [protocol]://[user@]hostname/path/
-Netrw will modify the command in g:netrw_list to perform the directory listing
-operation. By default the command is:
+Netrw will modify the command in g:netrw_list_cmd to perform the directory
+listing operation. By default the command is:
- ssh HOSTNAME ls -Fa
+ ssh HOSTNAME ls -FLa
-where the HOSTNAME becomes the hostname as requested by the attempted
-read. Naturally, the user may override this command with whatever is
+where the HOSTNAME becomes the [user@]hostname as requested by the attempt
+to read. Naturally, the user may override this command with whatever is
preferred. The NetList function which implements remote directory
browsing expects that directories will be flagged by a trailing slash.
Browsing is simple: move the cursor onto a file or directory of interest.
-Hitting the <cr> (the return key) will select the file or directory. Directories
-will themselves be listed, and files will be opened using the protocol given
-in the original read request.
+Hitting the <cr> (the return key) will select the file or directory.
+Directories will themselves be listed, and files will be opened using the
+protocol given in the original read request.
+
+ *netrw-delete* *netrw-remove*
+
+Deleting/removing files and directories involves moving the cursor to the
+file/directory to be deleted and pressing "D". Directories must be empty
+first before they can be successfully removed. If the directory is a softlink
+to a directory, then netrw will make two requests to remove the directory
+before succeeding. Netrw will ask for confirmation before doing the
+removal(s). You may select a range of lines with the "V" command (visual
+selection), and then pressing "D".
+
+The g:netrw_rm_cmd, g:netrw_rmf_cmd, and g:netrw_rmdir_cmd variables are
+used to control the attempts to remove files and directories. The
+g:netrw_rm_cmd is used with files, and its default value is:
+
+ g:netrw_rm_cmd: ssh HOSTNAME rm
+
+The g:netrw_rmdir_cmd is used with directories. Its default value is:
+
+ g:netrw_rmdir_cmd: ssh HOSTNAME rmdir
+
+If removing a directory fails with g:netrw_rmdir_cmd, netrw then will attempt
+to remove it again using the g:netrw_rmf_cmd. Its default value is:
+
+ g:netrw_rmf_cmd: ssh HOSTNAME rm -f
+
+ *netrw-x*
+
+The Netrw executor applies a user-defined function to a file, based on its
+extension. Of course, the handler function must exist for it to be called.
+>
+ Ex. mypgm.html x -> NetrwFileHandler_html("scp://user@host/some/path/mypgm.html")
+<
+See the <NetrwFileHandlers.vim>
+
+ *netrw-move* *netrw-rename*
+
+Renaming/moving files and directories involves moving the cursor to the
+file/directory to be moved (renamed) and pressing "R". You will then be
+queried for where you want the file/directory to be moved. You may select a
+range of lines with the "V" command (visual selection), and then pressing "R".
+
+The g:netrw_rename_cmd is used to implement renaming. By default its
+value is:
+
+ ssh HOSTNAME mv
+
+ *netrw-list-hack*
+For Linux/Unix systems, I suggest looking into
+
+ http://hacks.oreilly.com/pub/h/66
+
+It gives a tip for setting up password-less use of ssh and scp, and discusses
+the associated security issues.
==============================================================================
@@ -551,6 +639,7 @@ which is loaded automatically at startup (assuming :set nocp).
==============================================================================
9. History *netrw-history*
+ v47: *
v46: * now handles remote directory browsing
* g:netrw_silent (if 1) will cause all transfers to be silent'd
v45: * made the [user@]hostname:path form a bit more restrictive
diff --git a/runtime/doc/repeat.txt b/runtime/doc/repeat.txt
index f2fa8f6e64..faf31168b4 100644
--- a/runtime/doc/repeat.txt
+++ b/runtime/doc/repeat.txt
@@ -483,13 +483,14 @@ if the pattern starts with "^" and ends in "$"). A "*" matches any sequence
of characters. 'ignorecase' is not used, but "\c" can be used in the pattern
to ignore case |/\c|. Don't include the () for the function name!
-The match for sourced scripts is done against the full file name. Examples: >
- breakadd file explorer
-won't match, the path is missing. >
+The match for sourced scripts is done against the full file name. If no path
+is specified the current directory is used. Examples: >
+ breakadd file explorer.vim
+matches "explorer.vim" in the current directory. >
breakadd file *explorer.vim
-matches ".../plugin/explorer.vim" and ".../plugin/iexplorer.vim". >
+matches ".../plugin/explorer.vim", ".../plugin/iexplorer.vim", etc. >
breakadd file */explorer.vim
-matches ".../plugin/explorer.vim" only.
+matches ".../plugin/explorer.vim" and "explorer.vim" in any other directory.
The match for functions is done against the name as it's shown in the output
of ":function". For local functions this means that something like "<SNR>99_"
diff --git a/runtime/doc/tags b/runtime/doc/tags
index 25f0a2087d..e3873df1fd 100644
--- a/runtime/doc/tags
+++ b/runtime/doc/tags
@@ -2874,6 +2874,7 @@ CursorHold autocmd.txt /*CursorHold*
CursorHold-example windows.txt /*CursorHold-example*
CursorIM mbyte.txt /*CursorIM*
D change.txt /*D*
+DCOP gui_x11.txt /*DCOP*
DOS os_dos.txt /*DOS*
DOS-format editing.txt /*DOS-format*
DOS-format-write editing.txt /*DOS-format-write*
@@ -3583,9 +3584,14 @@ IM-server mbyte.txt /*IM-server*
IME mbyte.txt /*IME*
Insert insert.txt /*Insert*
Insert-mode insert.txt /*Insert-mode*
+InsertChange autocmd.txt /*InsertChange*
+InsertEnter autocmd.txt /*InsertEnter*
+InsertLeave autocmd.txt /*InsertLeave*
J change.txt /*J*
Japanese mbyte.txt /*Japanese*
K various.txt /*K*
+KDE gui_x11.txt /*KDE*
+KVim gui_x11.txt /*KVim*
Korean mbyte.txt /*Korean*
L motion.txt /*L*
Linux-backspace options.txt /*Linux-backspace*
@@ -3634,6 +3640,7 @@ Operator-pending intro.txt /*Operator-pending*
Operator-pending-mode intro.txt /*Operator-pending-mode*
OverTheSpot mbyte.txt /*OverTheSpot*
P change.txt /*P*
+PATHEXT eval.txt /*PATHEXT*
Pattern pattern.txt /*Pattern*
Perl if_perl.txt /*Perl*
Posix intro.txt /*Posix*
@@ -3908,6 +3915,7 @@ alternate-file editing.txt /*alternate-file*
amiga-window starting.txt /*amiga-window*
ant-syntax syntax.txt /*ant-syntax*
ant.vim syntax.txt /*ant.vim*
+antialias gui_x11.txt /*antialias*
ap motion.txt /*ap*
apache-syntax syntax.txt /*apache-syntax*
apache.vim syntax.txt /*apache.vim*
@@ -4213,6 +4221,7 @@ cpo-C options.txt /*cpo-C*
cpo-D options.txt /*cpo-D*
cpo-E options.txt /*cpo-E*
cpo-F options.txt /*cpo-F*
+cpo-I options.txt /*cpo-I*
cpo-J options.txt /*cpo-J*
cpo-K options.txt /*cpo-K*
cpo-L options.txt /*cpo-L*
@@ -4780,6 +4789,7 @@ gui-gtk gui_x11.txt /*gui-gtk*
gui-gtk-socketid gui_x11.txt /*gui-gtk-socketid*
gui-horiz-scroll gui.txt /*gui-horiz-scroll*
gui-init gui.txt /*gui-init*
+gui-kde gui_x11.txt /*gui-kde*
gui-mouse gui.txt /*gui-mouse*
gui-mouse-focus gui.txt /*gui-mouse-focus*
gui-mouse-mapping gui.txt /*gui-mouse-mapping*
@@ -4811,6 +4821,7 @@ gui-x11 gui_x11.txt /*gui-x11*
gui-x11-athena gui_x11.txt /*gui-x11-athena*
gui-x11-compiling gui_x11.txt /*gui-x11-compiling*
gui-x11-gtk gui_x11.txt /*gui-x11-gtk*
+gui-x11-kde gui_x11.txt /*gui-x11-kde*
gui-x11-misc gui_x11.txt /*gui-x11-misc*
gui-x11-motif gui_x11.txt /*gui-x11-motif*
gui-x11-neXtaw gui_x11.txt /*gui-x11-neXtaw*
@@ -4830,6 +4841,8 @@ gvim starting.txt /*gvim*
gvimdiff diff.txt /*gvimdiff*
gvimrc gui.txt /*gvimrc*
gw change.txt /*gw*
+gwgw change.txt /*gwgw*
+gww change.txt /*gww*
gzip pi_gzip.txt /*gzip*
gzip-autocmd pi_gzip.txt /*gzip-autocmd*
gzip-example autocmd.txt /*gzip-example*
@@ -5097,6 +5110,7 @@ insert_expand insert.txt /*insert_expand*
inserting insert.txt /*inserting*
inserting-ex insert.txt /*inserting-ex*
inserting-file insert.txt /*inserting-file*
+insertmode-variable eval.txt /*insertmode-variable*
install usr_90.txt /*install*
install-home usr_90.txt /*install-home*
install-registry gui_w32.txt /*install-registry*
@@ -5125,6 +5139,7 @@ jumplist motion.txt /*jumplist*
jumpto-diffs diff.txt /*jumpto-diffs*
k motion.txt /*k*
kcc uganda.txt /*kcc*
+kde-toolbar gui_x11.txt /*kde-toolbar*
key-codes intro.txt /*key-codes*
key-codes-changed version4.txt /*key-codes-changed*
key-mapping map.txt /*key-mapping*
@@ -5360,23 +5375,32 @@ netbeans-support netbeans.txt /*netbeans-support*
netbeans.txt netbeans.txt /*netbeans.txt*
netrw pi_netrw.txt /*netrw*
netrw-activate pi_netrw.txt /*netrw-activate*
+netrw-browse pi_netrw.txt /*netrw-browse*
+netrw-browse-var pi_netrw.txt /*netrw-browse-var*
netrw-contents pi_netrw.txt /*netrw-contents*
netrw-credits pi_netrw.txt /*netrw-credits*
netrw-debug pi_netrw.txt /*netrw-debug*
+netrw-delete pi_netrw.txt /*netrw-delete*
+netrw-dir pi_netrw.txt /*netrw-dir*
netrw-ex pi_netrw.txt /*netrw-ex*
netrw-file pi_netrw.txt /*netrw-file*
netrw-fixup pi_netrw.txt /*netrw-fixup*
+netrw-history pi_netrw.txt /*netrw-history*
+netrw-list pi_netrw.txt /*netrw-list*
+netrw-list-hack pi_netrw.txt /*netrw-list-hack*
+netrw-move pi_netrw.txt /*netrw-move*
netrw-netrc pi_netrw.txt /*netrw-netrc*
-netrw-new pi_netrw.txt /*netrw-new*
-netrw-newstuff pi_netrw.txt /*netrw-newstuff*
netrw-options pi_netrw.txt /*netrw-options*
netrw-passwd pi_netrw.txt /*netrw-passwd*
netrw-protocol pi_netrw.txt /*netrw-protocol*
netrw-ref pi_netrw.txt /*netrw-ref*
+netrw-remove pi_netrw.txt /*netrw-remove*
+netrw-rename pi_netrw.txt /*netrw-rename*
netrw-transparent pi_netrw.txt /*netrw-transparent*
netrw-uidpass pi_netrw.txt /*netrw-uidpass*
netrw-urls pi_netrw.txt /*netrw-urls*
netrw-var pi_netrw.txt /*netrw-var*
+netrw-x pi_netrw.txt /*netrw-x*
netrw-xfer pi_netrw.txt /*netrw-xfer*
netrw.vim pi_netrw.txt /*netrw.vim*
netterm-mouse options.txt /*netterm-mouse*
@@ -5545,7 +5569,6 @@ phtml-syntax syntax.txt /*phtml-syntax*
phtml.vim syntax.txt /*phtml.vim*
pi_expl.txt pi_expl.txt /*pi_expl.txt*
pi_gzip.txt pi_gzip.txt /*pi_gzip.txt*
-pi_netrw.txt pi_netrw.txt /*pi_netrw.txt*
pi_spec.txt pi_spec.txt /*pi_spec.txt*
plugin usr_05.txt /*plugin*
plugin-details filetype.txt /*plugin-details*
@@ -6265,6 +6288,7 @@ v:folddashes eval.txt /*v:folddashes*
v:foldend eval.txt /*v:foldend*
v:foldlevel eval.txt /*v:foldlevel*
v:foldstart eval.txt /*v:foldstart*
+v:insertmode eval.txt /*v:insertmode*
v:lang eval.txt /*v:lang*
v:lc_time eval.txt /*v:lc_time*
v:lnum eval.txt /*v:lnum*
@@ -6348,6 +6372,7 @@ v_g_CTRL-] tagsrch.txt /*v_g_CTRL-]*
v_gf editing.txt /*v_gf*
v_gq change.txt /*v_gq*
v_gv visual.txt /*v_gv*
+v_gw change.txt /*v_gw*
v_i motion.txt /*v_i*
v_i( motion.txt /*v_i(*
v_i) motion.txt /*v_i)*
@@ -6409,6 +6434,7 @@ vim-announce intro.txt /*vim-announce*
vim-arguments starting.txt /*vim-arguments*
vim-default-editor gui_w32.txt /*vim-default-editor*
vim-dev intro.txt /*vim-dev*
+vim-kpart gui_x11.txt /*vim-kpart*
vim-mac intro.txt /*vim-mac*
vim-modes intro.txt /*vim-modes*
vim-modes-intro intro.txt /*vim-modes-intro*
@@ -6429,6 +6455,7 @@ viminfo-file-marks starting.txt /*viminfo-file-marks*
viminfo-file-name starting.txt /*viminfo-file-name*
viminfo-read starting.txt /*viminfo-read*
viminfo-write starting.txt /*viminfo-write*
+vimpart gui_x11.txt /*vimpart*
vimrc starting.txt /*vimrc*
vimrc-filetype usr_05.txt /*vimrc-filetype*
vimrc-intro usr_05.txt /*vimrc-intro*
diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt
index ea6dea2631..17b7b40d5e 100644
--- a/runtime/doc/todo.txt
+++ b/runtime/doc/todo.txt
@@ -1,4 +1,4 @@
-*todo.txt* For Vim version 7.0aa. Last change: 2004 Jun 24
+*todo.txt* For Vim version 7.0aa. Last change: 2004 Jun 30
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -30,35 +30,8 @@ be worked on, but only if you sponsor Vim development. See |sponsor|.
*known-bugs*
-------------------- Known bugs and current work -----------------------
-Change for fsync() error in Vim 6 as patch?
-
For version 7.0:
- Include many PATCHES:
- 9 Merge in ideas from tutor.txt (Gabriel Zachmann)
- New version 2004 June 16.
- 8 ":winpos" doesn't work. Patch from Vipin Aravind.
- 8 Add GTK 2.3 file dialog support. Patch by Grahame Bowland, 2004 Mar 15,
- but it doesn't use "initdir" or "dflt". (will update patch)
- 8 On Sinix SYS_NMLN isn't defined. Include patch from Cristiano De
- Michele. He no longer has such a machine.
- 8 Add file locking. Lock a file when starting to edit it with flock() or
- fcntl(). This patch has advisory file locking while reading/writing
- the file: ~/vim/patches/kahn_file_locking .
- Do we still want this? Andy doesn't have time to work on it.
- 8 Add buffer-local autocommands? Reduces overhead for autocommands that
- trigger often (inserting a character, switching mode).
- :au Event <buffer> do-something
- E.g.:
- :au BufEnter <buffer> menu enable ...
- :au BufLeave <buffer> menu disable ...
- Patch from Yakov Lerner, including test (2004 Jan 7).
- He'll send updated patch.
- Autocommands:
- VimResized - When the Vim window has been resized (SIGWINCH)
- patch from Yakov Lerner, 2003 July 24.
- He'll write documentation and send updated patch.
- InsmodEnter
- InsmodLeave Taro Muraoka, 2004 Jun 16
- Include the kvim patch. http://freenux.org/vim/ (Mickael Marchand)
Do not add Qtopia yet, it doesn't work very well.
update from Mickael 2004 Jun 20.
@@ -130,6 +103,20 @@ For version 7.0:
'isfname'. E.g. ":set flipcase=a-zA-Z,xX,23-33:143-153". The colon to
separate the from and to part is optional.
Resp: no time now.
+ 8 Add GTK 2.3 file dialog support. Patch by Grahame Bowland, 2004 Mar 15,
+ but it doesn't use "initdir" or "dflt". (will update patch)
+ 8 Add buffer-local autocommands? Reduces overhead for autocommands that
+ trigger often (inserting a character, switching mode).
+ :au Event <buffer> do-something
+ E.g.:
+ :au BufEnter <buffer&g