Mercurial > vim
comparison runtime/doc/gui.txt @ 819:23f82b5d2814 v7.0c10
updated for version 7.0c10
author | vimboss |
---|---|
date | Wed, 05 Apr 2006 20:41:53 +0000 |
parents | 9f345c48220b |
children | 6675076019ae |
comparison
equal
deleted
inserted
replaced
818:1f929f3ca806 | 819:23f82b5d2814 |
---|---|
1 *gui.txt* For Vim version 7.0c. Last change: 2006 Mar 20 | 1 *gui.txt* For Vim version 7.0c. Last change: 2006 Apr 02 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
34 | 34 |
35 The X11 version of Vim can run both in GUI and in non-GUI mode. See | 35 The X11 version of Vim can run both in GUI and in non-GUI mode. See |
36 |gui-x11-start|. | 36 |gui-x11-start|. |
37 | 37 |
38 *gui-init* *gvimrc* *.gvimrc* *_gvimrc* | 38 *gui-init* *gvimrc* *.gvimrc* *_gvimrc* |
39 The gvimrc file is where GUI-specific startup commands should be placed. It | |
40 is always sourced after the |vimrc| file. If you have one then the $MYGVIMRC | |
41 environment variable has its name. | |
42 | |
39 When the GUI starts up initializations are carried out, in this order: | 43 When the GUI starts up initializations are carried out, in this order: |
40 - The 'term' option is set to "builgin_gui" and terminal options are reset to | 44 - The 'term' option is set to "builgin_gui" and terminal options are reset to |
41 their default value for the GUI |terminal-options|. | 45 their default value for the GUI |terminal-options|. |
42 - If the system menu file exists, it is sourced. The name of this file is | 46 - If the system menu file exists, it is sourced. The name of this file is |
43 normally "$VIMRUNTIME/menu.vim". You can check this with ":version". Also | 47 normally "$VIMRUNTIME/menu.vim". You can check this with ":version". Also |
64 - If the user gvimrc file exists, it is sourced. The name of this file is | 68 - If the user gvimrc file exists, it is sourced. The name of this file is |
65 normally "$HOME/.gvimrc". You can check this with ":version". | 69 normally "$HOME/.gvimrc". You can check this with ":version". |
66 - For Win32, when $HOME is not set, "$VIM\_gvimrc" is used. | 70 - For Win32, when $HOME is not set, "$VIM\_gvimrc" is used. |
67 - When a "_gvimrc" file is not found, ".gvimrc" is tried too. And vice | 71 - When a "_gvimrc" file is not found, ".gvimrc" is tried too. And vice |
68 versa. | 72 versa. |
73 The name of the first file found is stored in $MYGVIMRC, unless it was | |
74 already set. | |
69 - If the 'exrc' option is set (which is NOT the default) the file ./.gvimrc | 75 - If the 'exrc' option is set (which is NOT the default) the file ./.gvimrc |
70 is sourced, if it exists and isn't the same file as the system or user | 76 is sourced, if it exists and isn't the same file as the system or user |
71 gvimrc file. If this file is not owned by you, some security restrictions | 77 gvimrc file. If this file is not owned by you, some security restrictions |
72 apply. When ".gvimrc" is not found, "_gvimrc" is tried too. For Macintosh | 78 apply. When ".gvimrc" is not found, "_gvimrc" is tried too. For Macintosh |
73 and DOS/Win32 "_gvimrc" is tried first. | 79 and DOS/Win32 "_gvimrc" is tried first. |