1. ZyX_I
  2. vim

Commits

vimboss  committed 4424b47

updated for version 7.0003

  • Participants
  • Parent commits 4e2284e
  • Branches default

Comments (0)

Files changed (72)

File Filelist

View file
  • Ignore whitespace
 		pixmaps/gen-inline-pixbufs.sh \
 		pixmaps/stock_icons.h \
 		src/INSTALL \
+		src/INSTALLkde.txt \
 		src/Makefile \
 		src/auto/configure \
 		src/config.aap.in \
 		src/gui_gtk_f.c \
 		src/gui_gtk_f.h \
 		src/gui_gtk_x11.c \
+		src/gui_kde.cc \
+		src/gui_kde_widget.cc \
+		src/gui_kde_widget.h \
+		src/gui_kde_x11.cc \
+		src/kvim_iface.h \
 		src/gui_motif.c \
 		src/gui_x11.c \
 		src/hangulin.c \
 		src/proto/gui_athena.pro \
 		src/proto/gui_gtk.pro \
 		src/proto/gui_gtk_x11.pro \
+		src/proto/gui_kde.pro \
+		src/proto/gui_kde_x11.pro \
 		src/proto/gui_motif.pro \
 		src/proto/gui_x11.pro \
 		src/proto/hangulin.pro \
 # Unix runtime
 RT_UNIX =	\
 		README_unix.txt \
+		runtime/KVim.desktop \
+		runtime/hi16-action-make.png \
+		runtime/hi22-action-make.png \
+		runtime/kde-tips \
+		runtime/kvim32x32.png \
+		runtime/kvim48x48.png \
+		runtime/kvim64x64.png \
 		runtime/vim16x16.png \
 		runtime/vim16x16.xpm \
 		runtime/vim32x32.png \
 		src/tee/Makefile* \
 		src/tee/tee.c \
 		csdpmi4b.zip \
-		emx.dll \
-		emxlibcs.dll \
 
 # generic language files
 LANG_GEN = \

File emx.dll

  • Ignore whitespace
Binary file removed.

File emxlibcs.dll

  • Ignore whitespace
Binary file removed.

File runtime/KVim.desktop

View file
  • Ignore whitespace
+# 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
+

File runtime/doc/autocmd.txt

View file
  • Ignore whitespace
-*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
 							*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
 							*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|.

File runtime/doc/eval.txt

View file
  • Ignore whitespace
-*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
 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
 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.

File runtime/doc/gui.txt

View file
  • Ignore whitespace
 
 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:
 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
 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.
 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.
 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.
 

File runtime/doc/gui_x11.txt

View file
  • Ignore whitespace
 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.
 ==============================================================================
 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:
 
 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
 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.
 
 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

File runtime/doc/options.txt

View file
  • Ignore whitespace
-*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
 
 							*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
 	|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'*
 			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 ":+".

File runtime/doc/os_amiga.txt

View file
  • Ignore whitespace
-*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
 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)

File runtime/doc/pi_netrw.txt

View file
  • Ignore whitespace
-*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.
 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|
 >
 
 ==============================================================================
-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.
 
 
 ==============================================================================
 ==============================================================================
 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

File runtime/doc/repeat.txt

View file
  • Ignore whitespace
 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_"

File runtime/doc/tags

View file
  • Ignore whitespace
 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*
 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*
 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*
 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*
 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*
 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*
 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*
 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*
 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*
 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*
 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*
 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*
 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*
 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)*
 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*
 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*

File runtime/doc/todo.txt

View file
  • Ignore whitespace
-*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
 							*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.
 	'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> 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.
     --- responses above --
     7   Make "5dd" on last-but-one-line not delete anything (Vi compatible).
 	Add flag in 'cpoptions' for this.  When not present, "2dd" in the last
     -   findmatch() should be adjusted for Lisp.  See remark at
 	get_lisp_indent().  Esp. \( and \) should be skipped. (Dorai Sitaram,
 	incomplete patch Mar 18)
+
+
 -   Change ga_room into ga_maxlen, so that it doesn't need to be
     incremented/decremented each time.
+-   For string variables, use length instead of NUL termination.
 -   new DATA TYPES: lists, dictionaries and function references.
 	Check old patch from Robert Webb for array support.
     Add type checking?  See ~/vim/ideas.txt.
 -   FileChangedShellPost autocommand event: after (not) reloading a changed
     file.  Can be used to update statusline oslt.
 -   Displaying size of Visual area: use 24-33 column display.
+-   Mac: Unicode input and display (Eckehard Berns, June 27)
 
 
 Vi incompatibility:
     A long line with a " in it can cause a crash when it runs out of stack
     space (on systems where this isn't caught).  How can we catch this for
     more systems?
+6   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 for Vim 5.4: ~/vim/patches/kahn_file_locking .
+    The patch is incomplete (needs support for more systems, autoconf).
+    Andy doesn't have time to work on it.
+    Disadvantage: Need to find ways to gracefully handle failure to obtain a
+    lock.  When to release a lock: When buffer is unloaded?
 
 
 Performance:
     ReplaceEnter    - Entering Replace mode
     CmdEnter	    - Entering Cmdline mode
     VisualEnter	    - Entering Visual mode
+    *Leave	    - Leaving a mode (in pair with the above *Enter)
     CmdUndefined    - Like FuncUndefined but for user commands.
-    *Leave	    - Leaving the mode
     SearchPost	    - After doing a search command (e.g. to do "M")
     PreDirChanged/PostDirChanged
 		    - Before/after ":cd" has been used (for changing the

File runtime/doc/usr_27.txt

View file
  • Ignore whitespace
-*usr_27.txt*	For Vim version 7.0aa.  Last change: 2003 Oct 28
+*usr_27.txt*	For Vim version 7.0aa.  Last change: 2004 Jun 26
 
 		     VIM USER MANUAL - by Bram Moolenaar
 
 because there is no reason to match more.  It requires something else to force
 it to match more than the lower limit.
    The same rules apply to removing "n" and "m".  It's even possible to remove
-both of the, resulting in "\{-}".  This matches the item before it zero or
-more times, as few as possible.  The item by itself always match zero times.
-It is useful when combined with something else.  Example: >
+both of the numbes, resulting in "\{-}".  This matches the item before it zero
+or more times, as few as possible.  The item by itself always matches zero
+times.  It is useful when combined with something else.  Example: >
 
 	/a.\{-}b
 

File runtime/doc/version7.txt

View file
  • Ignore whitespace
-*version7.txt*  For Vim version 7.0aa.  Last change: 2004 Jun 24
+*version7.txt*  For Vim version 7.0aa.  Last change: 2004 Jun 30
 
 
 		  VIM REFERENCE MANUAL    by Bram Moolenaar
 
 Many functions and commands have been added to support the new types.
 
+NOT IMPLEMENTED YET!
+
+
+KDE support						*new-kde*
+-----------
+
+Kvim is the KDE version of Vim.  It uses the Qt toolkit.  See |KVim|.
+(Thomas Capricelli, Philippe Fremy, Mickael Marchand, Mark Westcott, et al.)
+
 
 Various new items					*new-items-7*
 -----------------
 
 Ex commands: ~
 
+Win32: The ":winpos" command now also works in the console. (Vipin Aravind)
+
 
 New functions: ~
 
 
 New autocommand events: ~
 
+InsertEnter		starting Insert or Replace mode
+InsertChange		going from Insert to Replace mode or back
+InsertLeave		leaving Insert or Replace mode
+
 
 New Syntax files: ~
 
 Also fixes the problem that setting 'clipboard' to "unnamed" breaks using
 "yyp".
 
+The netrw plugin now also supports viewing a directory, when "scp://" is used.
+Deleting and renaming files is possible.  (Charles Campbell)
+
 ==============================================================================
 IMPROVEMENTS						*improvements-7*
 
 ":breakadd here" and ":breakdel here" can be used to set or delete a
 breakpoint at the cursor.
 
+The tutor was updated to make it simpler to use and added text to explain a
+few more important commands.  Used ideas from Gabriel Zachmann.
 
 ==============================================================================
 COMPILE TIME CHANGES					*compile-changes-7*
 Win32: Borland C before 5.5 requires using ".u." for LowPart and HighPart
 fields. (Walter Briscoe)
 
+On Sinix SYS_NMLN isn't always defined.  Define it ourselves. (Cristiano De
+Michele)
+
  vim:tw=78:ts=8:ft=help:norl:

File runtime/filetype.vim

View file
  • Ignore whitespace
 " Vim support file to detect file types
 "
 " Maintainer:	Bram Moolenaar <Bram@vim.org>
-" Last Change:	2004 Jun 10
+" Last Change:	2004 Jun 27
 
 " Listen very carefully, I will say this only once
 if exists("did_load_filetypes")
 else
   au BufNewFile,BufRead *.pl			call FTCheck_pl()
 endif
+au BufNewFile,BufRead *.plx			setf perl
 
 fun! FTCheck_pl()
   if exists("g:filetype_pl")

File runtime/ftplugin/aspvbs.vim

View file
  • Ignore whitespace
 " Vim filetype plugin file
 " Language:	aspvbs
 " Maintainer:	Dan Sharp <dwsharp at hotmail dot com>
-" Last Changed: 2003 Sep 29
+" Last Changed: 2004 Jun 28
 " URL:		http://mywebpage.netscape.com/sharppeople/vim/ftplugin
 
 if exists("b:did_ftplugin") | finish | endif
 " thanks to Gontran BAERTS
 if exists("loaded_matchit")
   let s:notend = '\%(\<end\s\+\)\@<!'
+  let b:match_ignorecase = 1
   let b:match_words =
-  \ s:notend . '\<If\>:^\s\+\<Else\>:\<ElseIf\>:\<end\s\+\<if\>,' .
-  \ s:notend . '\<Select\s\+\<Case\>:\<Case\>:\<Case\s\+\<Else\>:\<End\s\+\<Select\>,' .
-  \ '^\s*\<Sub\>:\<End\s\+\<Sub\>,' .
-  \ '^\s*\<Function\>:\<End\s\+\<Function\>,' .
-  \ '\<Class\>:\<End\s\+\<Class\>,' .
-  \ '^\s*\<Do\>:\<Loop\>,' .
-  \ '^\s*\<For\>:\<Next\>,' .
-  \ '\<While\>:\<Wend\>,' .
+  \ s:notend . '\<if\>\%(.\{-}then\s\+\w\)\@!:\<elseif\>:^\s*\<else\>:\<end\s\+\<if\>,' .
+  \ s:notend . '\<select\s\+case\>:\<case\>:\<case\s\+else\>:\<end\s\+select\>,' .
+  \ '^\s*\<sub\>:\<end\s\+sub\>,' .
+  \ '^\s*\<function\>:\<end\s\+function\>,' .
+  \ '\<class\>:\<end\s\+class\>,' .
+  \ '^\s*\<do\>:\<loop\>,' .
+  \ '^\s*\<for\>:\<next\>,' .
+  \ '\<while\>:\<wend\>,' .
   \ s:match_words
 endif
 
     let  b:browsefilter="ASP Files (*.asp)\t*.asp\n" . s:browsefilter
 endif
 
-let b:undo_ftplugin = "unlet! b:match_words b:browsefilter | " . s:undo_ftplugin
+let b:undo_ftplugin = "unlet! b:match_words b:match_ignorecase b:browsefilter | " . s:undo_ftplugin
 
 " Restore the saved compatibility options.
 let &cpo = s:save_cpo