~ubuntu-branches/ubuntu/maverick/vim/maverick

« back to all changes in this revision

Viewing changes to runtime/doc/gui.txt

  • Committer: Bazaar Package Importer
  • Author(s): Steve Langasek
  • Date: 2009-05-04 11:13:42 UTC
  • mfrom: (1.1.8 upstream) (0.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090504111342-60miqybsixdpc345
Tags: 2:7.2.148-2ubuntu1
* Merge from Debian unstable, remaining changes:
  - debian/runtime/vimrc: "syntax on" is a sane default for non-tiny vim.
  - runtime/syntax/debcontrol.vim:
    + Add "metapackages" to the list of valid sections.
  - runtime/syntax/grub.vim:
    + Add Ubuntu-specific 'quiet' keyword.
  - Drop vim-lesstif package and lesstif2-dev build-dependency.
  - Enable Python interpreter on basic builds.
  - Disable autoindent, line-wrapping, and backup files by default.
* Dropped changes, merged in Debian:
  - Add jaunty, karmic to the list of valid suites.
  - runtime/syntax/debsources.vim:
    + Add "jaunty" to debsourcesDistrKeyword
  - Create a .pot file for translations.
* Drop gutsy from the list of valid distro series, it's been EOLed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
*gui.txt*       For Vim version 7.2.  Last change: 2008 Jun 14
 
1
*gui.txt*       For Vim version 7.2.  Last change: 2009 Jan 22
2
2
 
3
3
 
4
4
                  VIM REFERENCE MANUAL    by Bram Moolenaar
35
35
The X11 version of Vim can run both in GUI and in non-GUI mode.  See
36
36
|gui-x11-start|.
37
37
 
38
 
                                        *gui-init* *gvimrc* *.gvimrc* *_gvimrc*
 
38
                        *gui-init* *gvimrc* *.gvimrc* *_gvimrc* *$MYGVIMRC*
39
39
The gvimrc file is where GUI-specific startup commands should be placed.  It
40
40
is always sourced after the |vimrc| file.  If you have one then the $MYGVIMRC
41
41
environment variable has its name.
42
42
 
43
43
When the GUI starts up initializations are carried out, in this order:
44
 
- The 'term' option is set to "builgin_gui" and terminal options are reset to
 
44
- The 'term' option is set to "builtin_gui" and terminal options are reset to
45
45
  their default value for the GUI |terminal-options|.
46
46
- If the system menu file exists, it is sourced.  The name of this file is
47
47
  normally "$VIMRUNTIME/menu.vim".  You can check this with ":version".  Also
473
473
        :let did_install_default_menus = 1
474
474
If you also want to avoid the Syntax menu: >
475
475
        :let did_install_syntax_menu = 1
476
 
If you do want the Syntax menu but not all the entries for each available
477
 
syntax file (which take quite a bit of time to load): >
478
 
        :let skip_syntax_sel_menu = 1
 
476
The first item in the Syntax menu can be used to show all available filetypes
 
477
in the menu (which can take a bit of time to load).  If you want to have all
 
478
filetypes already present at startup, add: >
 
479
        :let do_syntax_sel_menu = 1
 
480
 
479
481
<
480
482
                                                        *console-menus*
481
483
Although this documentation is in the GUI section, you can actually use menus