Skip to content

Commit d85af34

Browse files
authored
Merge pull request #2454 from h-east/update-gui_w32
Update gui_w32.{txt,jax}
2 parents d70247f + a36a8d8 commit d85af34

2 files changed

Lines changed: 45 additions & 2 deletions

File tree

doc/gui_w32.jax

Lines changed: 23 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 Nov 09
1+
*gui_w32.txt* For Vim バージョン 9.1. Last change: 2025 Dec 21
22

33

44
VIM リファレンスマニュアル by Bram Moolenaar
@@ -503,4 +503,26 @@ Windows 11 以降では、|'go-C'| オプションを有効にすることで、
503503
hi TitleBar guibg=NONE guifg=NONE
504504
hi TitleBarNC guibg=NONE guifg=NONE
505505
<
506+
507+
フルスクリーン *gui-w32-fullscreen*
508+
509+
Windows GUI バージョンの Vim でフルスクリーンモードを有効にするには、's' フラ
510+
グを 'guioptions' 設定に追加する。
511+
512+
利便性のために、フルスクリーンモードを切り替えるコマンドまたはマッピングを定義
513+
できる:
514+
>
515+
command! ToggleFullscreen {
516+
if &guioptions =~# 's'
517+
set guioptions-=s
518+
else
519+
set guioptions+=s
520+
endif
521+
}
522+
523+
map <expr> <F11> &go =~# 's' ? ":se go-=s<CR>" : ":se go+=s<CR>"
524+
525+
フルスクリーンモードは、タイトルバーや境界線などのウィンドウの装飾を非表示にし
526+
て、画面領域全体を占有する。
527+
506528
vim:tw=78:sw=4:ts=8:noet:ft=help:norl:

en/gui_w32.txt

Lines changed: 22 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 Nov 09
1+
*gui_w32.txt* For Vim version 9.1. Last change: 2025 Dec 21
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -504,4 +504,25 @@ To use the system's default title bar colors, set highlighting groups to
504504
hi TitleBar guibg=NONE guifg=NONE
505505
hi TitleBarNC guibg=NONE guifg=NONE
506506
<
507+
508+
Full Screen *gui-w32-fullscreen*
509+
510+
To enable fullscreen mode in the Windows GUI version of Vim, add the 's' flag
511+
to the 'guioptions' setting.
512+
513+
For convenience, you can define a command or mapping to toggle fullscreen mode:
514+
>
515+
command! ToggleFullscreen {
516+
if &guioptions =~# 's'
517+
set guioptions-=s
518+
else
519+
set guioptions+=s
520+
endif
521+
}
522+
523+
map <expr> <F11> &go =~# 's' ? ":se go-=s<CR>" : ":se go+=s<CR>"
524+
525+
The fullscreen mode will occupy the entire screen area while hiding window
526+
decorations such as the title bar and borders.
527+
507528
vim:tw=78:sw=4:ts=8:noet:ft=help:norl:

0 commit comments

Comments
 (0)