Mercurial > vim
diff runtime/doc/gui.txt @ 8:7edf9b6e4c36
Various changes
author | vimboss |
---|---|
date | Wed, 16 Jun 2004 11:19:22 +0000 |
parents | 3fc0f57ecb91 |
children | 4424b47a0797 |
line wrap: on
line diff
--- a/runtime/doc/gui.txt +++ b/runtime/doc/gui.txt @@ -1,4 +1,4 @@ -*gui.txt* For Vim version 7.0aa. Last change: 2004 Jun 02 +*gui.txt* For Vim version 7.0aa. Last change: 2004 Jun 15 VIM REFERENCE MANUAL by Bram Moolenaar @@ -932,6 +932,22 @@ This section describes other features wh else echo "Boring old console" endif +< *setting-guifont* +- When you use the same vimrc file on various systems, you can use something + like this to set options specifically for each type of GUI: > + + if has("gui_running") + if has("gui_gtk2") + :set guifont=Luxi\ Mono\ 12 + elseif has("gui_kde") + :set guifont=Luxi\ Mono/12/-1/5/50/0/0/0/1/0 + elseif has("x11") + " Also for GTK 1 + :set guifont=*-lucidatypewriter-medium-r-normal-*-*-180-*-*-m-*-* + elseif has("gui_win32") + :set guifont=Luxi_Mono:h12:cANSI + endif + endif ============================================================================== 7. Shell Commands *gui-shell*