diff runtime/doc/gui_x11.txt @ 14668:34fd018452ed

Update runtime files. commit https://github.com/vim/vim/commit/20aac6c1126988339611576d425965a25a777658 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Sep 2 21:07:30 2018 +0200 Update runtime files.
author Christian Brabandt <cb@256bit.org>
date Sun, 02 Sep 2018 21:15:05 +0200
parents 2f7e67dd088c
children 4ee65b4150fd
line wrap: on
line diff
--- a/runtime/doc/gui_x11.txt
+++ b/runtime/doc/gui_x11.txt
@@ -376,8 +376,8 @@ you might have to use the file ~/.gtkrc-
 distribution.
 
 For GTK+ 3, an effect similar to the above can be obtained by adding the
-following snippet of CSS code to $XDG_HOME_DIR/gtk-3.0/gtk.css (usually,
-$HOME/.config/gtk-3.0/gtk.css):
+following snippet of CSS code to $XDG_HOME_DIR/gtk-3.0/gtk.css (see the next
+section):
 
 For GTK+ 3 < 3.20: >
 
@@ -408,6 +408,10 @@ stable support for GTK+ CSS:
 GTK+ uses CSS for styling and layout of widgets.  In this subsection, we'll
 have a quick look at GTK+ CSS through simple, illustrative examples.
 
+You can usually edit the config with: >
+	vim $HOME/.config/gtk-3.0/gtk.css
+
+
 Example 1.  Empty Space Adjustment ~
 
 By default, the toolbar and the tabline of the GTK+ 3 GUI are somewhat larger
@@ -492,6 +496,16 @@ unexpectedly less attractive or even det
 in mind always when you try improving a theme.
 
 
+Example 3.  border color
+
+To eliminate borders when maximized: >
+
+    @define-color bg_color #1B2B34;
+    #vim-main-window {
+	background-color: @bg_color;
+    }
+
+
 Using Vim as a GTK+ plugin ~
 							*gui-gtk-socketid*
 When the GTK+ version of Vim starts up normally, it creates its own top level