Skip to content

Commit 723ab69

Browse files
committed
Update os_win32.{txt,jax}
1 parent 68fcafe commit 723ab69

File tree

2 files changed

+35
-4
lines changed

2 files changed

+35
-4
lines changed

doc/os_win32.jax

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*os_win32.txt* For Vim バージョン 9.1. Last change: 2025 Aug 06
1+
*os_win32.txt* For Vim バージョン 9.1. Last change: 2025 Sep 25
22

33

44
VIMリファレンスマニュアル by George Reilly
@@ -24,7 +24,7 @@ Windows XP または Vista を所有している場合は、Vim 9.0 のパッチ
2424
7. インストールパッケージ |win32-installer|
2525
8. Win32 ミニ FAQ |win32-faq|
2626

27-
付け加えて、Win32とDOS共通の項目がいくつかある:
27+
加えて、|os_dos.txt| には Win32 と DOS に共通する項目が多数ある:
2828
ファイルの位置 |dos-locations|
2929
バックスラッシュの使用 |dos-backslash|
3030
標準のマッピング |dos-standard-mappings|
@@ -84,6 +84,21 @@ Win32バージョンのVimが認識できる唯一の端末の種類は "win32"
8484
せることだろう。それゆえ、Vimは 'term' のデフォルト値を環境変数 "TERM" から取
8585
得しない。
8686

87+
端末カラー *win32-term-colors*
88+
89+
Win32 コンソールはデフォルトで 16 色をサポートしている |dos-colors|。Windows
90+
10 バージョン 1703 (Creators Update) 以降では、'termguicolors' が設定され、Vim
91+
が仮想端末処理 (VTP) |+vtp| をサポートするようにビルドされている場合、コンソー
92+
ルは 256 色と True Color (24 ビット) をサポートする。
93+
94+
'termguicolors' オプションが設定されているか、't_Co' オプションが 256 に設定さ
95+
れている場合、仮想端末処理が自動的に有効になる。これにより、色の ANSI エスケー
96+
プシーケンスが有効になり、マルチバイト文字のレンダリングが改善され、Windows コ
97+
ンソールのその他の端末機能が有効になる。
98+
99+
実際のカラーレンダリングは、ターミナルが VTP をサポートしているかどうかによっ
100+
て異なります (Windows ターミナルや最新の Windows 10/11 コンソールなど)。
101+
87102
$PATH *win32-PATH*
88103

89104
Vim 実行可能ファイルのディレクトリが $PATH に追加される。これは主に「ツール」

en/os_win32.txt

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*os_win32.txt* For Vim version 9.1. Last change: 2025 Aug 06
1+
*os_win32.txt* For Vim version 9.1. Last change: 2025 Sep 25
22

33

44
VIM REFERENCE MANUAL by George Reilly
@@ -24,7 +24,8 @@ The 32 bit version also runs on 64 bit MS-Windows systems.
2424
7. Installation package |win32-installer|
2525
8. Win32 mini FAQ |win32-faq|
2626

27-
Additionally, there are a number of common Win32 and DOS items:
27+
Additionally, there are a number of common Win32 and DOS items in
28+
|os_dos.txt|:
2829
File locations |dos-locations|
2930
Using backslashes |dos-backslash|
3031
Standard mappings |dos-standard-mappings|
@@ -85,6 +86,21 @@ The only kind of terminal type that the Win32 version of Vim understands is
8586
probably get very strange behavior from Vim. Therefore Vim does not obtain
8687
the default value of 'term' from the environment variable "TERM".
8788

89+
Terminal Colors *win32-term-colors*
90+
91+
The Win32 console supports 16 colors by default |dos-colors|. From Windows 10
92+
version 1703 (Creators Update) onwards, the console supports 256 colors and
93+
true color (24-bit) when 'termguicolors' is set and Vim is built with support
94+
for Virtual Terminal Processing (VTP) |+vtp|.
95+
96+
Virtual Terminal Processing is automatically enabled if either the
97+
'termguicolors' option is set or the 't_Co' option is set to 256. This
98+
enables ANSI escape sequences for colors, improves rendering of multi-byte
99+
characters and enables other terminal features in the Windows console.
100+
101+
The actual color rendering depends on whether your terminal supports VTP (such
102+
as Windows Terminal or the modern Windows 10/11 console).
103+
88104
$PATH *win32-PATH*
89105

90106
The directory of the Vim executable is appended to $PATH. This is mostly to

0 commit comments

Comments
 (0)