Skip to content

Commit 83fb462

Browse files
committed
Update gui_w32.{txt,jax}
1 parent 8920982 commit 83fb462

File tree

2 files changed

+34
-2
lines changed

2 files changed

+34
-2
lines changed

doc/gui_w32.jax

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*gui_w32.txt* For Vim バージョン 9.1. Last change: 2025 Aug 06
1+
*gui_w32.txt* For Vim バージョン 9.1. Last change: 2025 Oct 07
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -487,4 +487,20 @@ ToUnicode() Win API 呼び出しに切り替えられた。このアプローチ
487487
set VIM_KEYCODE_TRANS_STRATEGY=experimental
488488
gvim.exe
489489
<
490+
491+
タイトルバー *gui-w32-title-bar*
492+
493+
Windows 11 以降では、|'go-C'| オプションを有効にすることで、gVim のタイトルバー
494+
(キャプションバーとも呼ばれる) をカスタマイズできる。
495+
496+
有効にすると、外観は次の 2 つのハイライトグループによって制御される:
497+
1. |hl-TitleBar| -- アクティブウィンドウのタイトルバーの色を設定する。
498+
2. |hl-TitleBarNC| -- 非アクティブウィンドウのタイトルバーの色を設定する。
499+
500+
システムのデフォルトのタイトルバーの色を使用するには、ハイライトグループを
501+
`NONE` に設定する: >
502+
503+
hi TitleBar guibg=NONE guifg=NONE
504+
hi TitleBarNC guibg=NONE guifg=NONE
505+
<
490506
vim:tw=78:sw=4:ts=8:noet:ft=help:norl:

en/gui_w32.txt

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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 07
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -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

Comments
 (0)