Various changes
This commit is contained in:
@ -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 which are related to the GUI.
|
||||
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*
|
||||
|
||||
Reference in New Issue
Block a user