From: Oleg Broytman Date: Sat, 23 May 2020 00:02:13 +0000 (+0300) Subject: .vimrc: Improve GUI type detection X-Git-Url: https://git.phdru.name/?p=dotfiles.git;a=commitdiff_plain;h=9a7de6d0809593857e5e8cf1383ed58e0f52ef4e;ds=sidebyside .vimrc: Improve GUI type detection --- diff --git a/.vimrc b/.vimrc index b0a7f7b..de5a258 100644 --- a/.vimrc +++ b/.vimrc @@ -218,8 +218,8 @@ if has("gui_running") if has("win32") "set guifont=Courier_New:h18:cRUSSIAN set guifont=Lucida_Console:h18:cRUSSIAN - else set guifont=Monospace\ 16 + elseif has("x11") set toolbar=icons,text " how to show the toolbar endif