GUI Options and Command Synopsis
Table 13-3 summarizes the commands and options specially associated with gvim. These are added to Vim when it is compiled with GUI support, and they take effect when it is invoked as gvim or vim -g.
Command or option | Type | Description |
| Option | Settings for cursor shape and blinking |
| Option | Names of single-byte fonts to be used |
| Option | Names of multi-byte fonts to be used |
| Option | List of font names for double-wide characters |
| Option | Number of pixels to leave for window decorations |
| Option | Which components and options are used |
| Option | Use a pseudo-tty for “:!” commands |
guitablabel | Option | Custom label for a tab page |
| Option | Custom tooltip for a tab page |
toolbar | Option | Items to show in the toolbar |
-g | Option | Start the GUI (which also allows the other options) |
-U gvimrc | Option | Use gvim startup file, named gvimrc or something similar, when starting the GUI |
:gui | Command | Start the GUI (on Unix-like systems only) |
:gui
| Command | Start the GUI and edit the specified files |
:menu | Command | List all menus |
:menu
| Command | List menus starting with menupath |
:menu
| Command | Add menu menupath, to perform action action |
:menu | Command | Add menu menupath with positional priority of n |
:menu ToolBar. | Command | Add toolbar item toolbarname to perform action action |
:tmenu
| Command | Create tooltip for menu item menupath with text of text |
:unmenu ... |
Get Learning the vi and Vim Editors, 7th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.