Begin the GUI
Example
Normal 0 / 2Command-line 1 / 2Normal 2 / 2Begin the GUI.
Display
- Frontend
terminal- Process
foreground
Command entered · ready to apply
Display
- Frontend
terminal- Process
foreground
Command line
- Typed text
:gvim -f- Insertion offset
8
:gvim -f starts the GUI frontend for this same editing session and keeps it in the foreground.
Display
- Frontend
GUI window- Process
foreground (-f; no fork)- Menu bar
available
Before & after
Before
Display
- Frontend
terminal- Process
foreground
After
Display
- Frontend
GUI window- Process
foreground (-f; no fork)- Menu bar
available
Documentation-backed illustration. Unix Vim built with GUI and +menu support, a working graphical display, prepared menus with guioptions containing m, and successful GUI startup without gvimrc or GUIEnter actions changing the illustrated session. :gvim -f starts the GUI frontend for this same editing session and keeps it in the foreground. Primary help: :gvim.
alpha
beta
gammaCursor on line 1, column 1Details & Vim help
Begin the GUI. This Ex reference uses the full command name; the alphabetical index omits arguments. Supply the ranges, arguments, flags and prerequisite state documented in the linked help. Press Enter to submit a complete command. The index spelling :gv[im] puts the optional abbreviation suffix in square brackets; those brackets are not typed. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.