Whole document tree GUI_W16
*gui_w16.txt* For Vim version 6.1. Last change: 2001 Sep 03
VIM REFERENCE MANUAL by Bram Moolenaar
Vim's Graphical User Interface *gui-w16* *win16-gui*
1. Starting the GUI |win16-start|
2. Vim as default editor |win16-default-editor|
3. Using the clipboard |win16-clipboard|
4. Shell Commands |win16-shell|
5. Special colors |win16-colors|
6. Windows dialogs & browsers |win16-dialogs|
7. Various |win16-various|
Other relevant documentation:
|gui| For generic items of the GUI.
|os_msdos| For items common to DOS and Windows.
|gui_w32| Some items here are also applicable to the Win16 version.
1. Starting the GUI *win16-start* The Win16 GUI version of Vim will always start the GUI, no matter how you start it or what it's called. There is no 'console' version as such, but you can use one of the DOS versions in a DOS box. The Win16 GUI has an extra menu item: "Window/Select Font". It brings up the standard Windows font selector. 2. Vim as default editor *win16-default-editor* To set Vim as the default editor for a file type you can use File Manager's "Associate" feature. When you open a file in Vim by double clicking it, Vim changes to that file's directory. See also |notepad|. 3. Using the clipboard *win16-clipboard* Windows has a clipboard, where you can copy text to, and paste text from. Vim supports this in several ways. The clipboard works in the same way as the Win32 version: see |gui-clipboard|. 4. Shell Commands *win16-shell*
Vim spawns a DOS window for external commands, to make it possible to run any
DOS command. The window uses the _default.pif settings.
*win16-!start*
Normally, Vim waits for a command to complete before continuing (this makes
sense for most shell commands which produce output for Vim to use). If you
want Vim to start a program and return immediately, you can use the following
syntax:
:!start 5. Special colors *win16-colors* On Win16, the normal DOS colors can be used. See |dos-colors|. Additionally the system configured colors can also be used. These are known by the names Sys_XXX, where XXX is the appropriate system color name, from the following list (see the Win32 documentation for full descriptions). Case is ignored. Sys_BTNFace Sys_BTNShadow Sys_ActiveBorder Sys_ActiveCaption Sys_AppWorkspace Sys_Background Sys_BTNText Sys_CaptionText Sys_GrayText Sys_Highlight Sys_HighlightText Sys_InactiveBorder Sys_InactiveCaption Sys_InactiveCaptionText Sys_Menu Sys_MenuText Sys_ScrollBar Sys_Window Sys_WindowFrame Sys_WindowText Probably the most useful values are Sys_Window Normal window background Sys_WindowText Normal window text Sys_Highlight Highlighted background Sys_HighlightText Highlighted text These extra colors are also available: Gray, Grey, LightYellow, SeaGreen, Orange, Purple, SlateBlue, Violet, See also |rgb|. *win16-dialogs* 6. Windows dialogs & browsers The Win16 GUI can use familiar Windows components for some operations, as well as the traditional interface shared with the console version. 6.1 Dialogs The dialogs displayed by the "confirm" family (i.e. the 'confirm' option, |:confirm| command and |confirm()| function are GUI-based rather than the console-based ones used by other versions. There is no option to change this. 6.2 File Browsers When prepending ":browse" before file editing commands, a file requester is used to allow you to select an existing file. See |:browse|. 7. Various *win16-various* *win16-printing* The "File/Print" menu uses Generated by vim2html on Sun Apr 3 12:07:35 UTC 2005 |