1- *gui_w32.txt* For Vim version 9.1. Last change: 2025 Aug 06
1+ *gui_w32.txt* For Vim version 9.1. Last change: 2025 Oct 11
22
33
44 VIM REFERENCE MANUAL by Bram Moolenaar
@@ -235,7 +235,7 @@ The "* register reflects the contents of the clipboard. |quotestar|
235235
236236When the "unnamed" string is included in the 'clipboard' option, the unnamed
237237register is the same. Thus you can yank to and paste from the clipboard
238- without prepending "* to commands. If this doesn't work use the "unnamedplus"
238+ without prepending "* to commands. If this doesn't work use the "unnamedplus"
239239string in the 'clipboard' option.
240240
241241The 'a' flag in 'guioptions' is not included by default. This means that text
@@ -458,17 +458,17 @@ Keycode translation strategy *w32-experimental-keycode-trans-strategy*
458458
459459In Patch v8.2.4807 W32 GVIM was changed over to experimental keycode
460460translation method with the aim to be able to use more keyboard shortcuts and
461- especially supporting non-standard keyboard layouts. In order to implement
461+ especially supporting non-standard keyboard layouts. In order to implement
462462this support Win API TranslateMessage() call was dropped, and instead the
463- recognition of keycode was changed over to ToUnicode() Win API call. This
463+ recognition of keycode was changed over to ToUnicode() Win API call. This
464464approach uncovered numerous corner cases, which are apparently covered by
465465TranslateMessage() implementation, each of it is necessary to be dealt with on
466- an individual basis. Therefore the decision was taken to declare this
466+ an individual basis. Therefore the decision was taken to declare this
467467functionality experimental for the time being and to recover "classic" keycode
468468translation method as default again.
469469
470470Discussion about use of "experimental" keycode translation method will
471- probably last some time yet. In the meantime, if you are impacted by this
471+ probably last some time yet. In the meantime, if you are impacted by this
472472change over back to "classic" keycode translation method in W32 GVIM, you can
473473enable "experimental" translation method again in your vimrc using following
474474snippet:
@@ -488,4 +488,20 @@ VIM_KEYCODE_TRANS_STRATEGY can be set to the desired value ("experimental" or
488488 set VIM_KEYCODE_TRANS_STRATEGY=experimental
489489 gvim.exe
490490<
491+
492+ Title Bar *gui-w32-title-bar*
493+
494+ Starting with Windows 11, you can customize the gVim title bar (also known as
495+ the caption bar) by enabling the | 'go-C' | option.
496+
497+ Once enabled, the appearance is controlled by two highlighting groups:
498+ 1. | hl-TitleBar | -- Sets the color of the title bar for the active window.
499+ 2. | hl-TitleBarNC | -- Sets the color of the title bar for inactive windows.
500+
501+ To use the system's default title bar colors, set highlighting groups to
502+ `NONE ` : >
503+
504+ hi TitleBar guibg=NONE guifg=NONE
505+ hi TitleBarNC guibg=NONE guifg=NONE
506+ <
491507 vim:tw=78:sw=4:ts=8:noet:ft=help:norl:
0 commit comments