Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 11 additions & 10 deletions doc/options.jax
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*options.txt* For Vim バージョン 9.2. Last change: 2026 Feb 14
*options.txt* For Vim バージョン 9.2. Last change: 2026 Feb 17


VIM リファレンスマニュアル by Bram Moolenaar
Expand Down Expand Up @@ -7352,19 +7352,20 @@ Note 1番目の形式では、行全体がオプション指定に使われる

$XDG_CONFIG_HOME については、|xdg-base-dir| を参照。

ほとんどのシステムでの既定値は、以下の5カ所を検索するようになっている。
1. ユーザーの個人的な設定を読み込むため、ユーザーのホームディレクトリ
を検索する。
2. システム管理者による設定を読み込むため、システム共通のVim用ディレク
ほとんどのシステムのデフォルトでは、以下の 5 つの場所を検索するように
設定されている:
1. ユーザーの個人的な設定を読み込むため、ユーザーの $MYVIMDIR ディレク
トリを検索する。
3. Vim付属のファイルを読み込むため、環境変数 $VIMRUNTIME 内を検索する。
2. システム管理者による設定を読み込むため、システム共通の Vim 用ディレ
クトリを検索する。
3. Vim 付属のファイルを読み込むため、$VIMRUNTIME 内を検索する。
*after-directory*
4. システム管理者が付属ファイルによる設定を上書きしたり、それに追加設
定をしたりできるようにするため、システム共通のVimディレクトリ内の
ディレクトリ "after" を検索する (これは滅多に使われない)。
定をしたりできるようにするため、システム共通の Vim ディレクトリ内の
ディレクトリ "after" を検索する (滅多に使われない)。
5. ユーザーが付属ファイルやシステム管理者による設定を上書きしたり、そ
れに追加設定をしたりできるようにするため、ユーザーのホームディレク
トリ内のディレクトリ "after" を検索する。
れに追加設定をしたりできるようにするため、ユーザーの $MYVIMDIR ディ
レクトリ内のディレクトリ "after" を検索する (滅多に使われない)

|packages| を使用するとさらに多くのエントリが追加される。もしもとても
長くなる場合 `:set rtp` は省略されるので、全てをみる必要がある場合は
Expand Down
6 changes: 3 additions & 3 deletions en/options.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*options.txt* For Vim version 9.2. Last change: 2026 Feb 14
*options.txt* For Vim version 9.2. Last change: 2026 Feb 17


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -7338,15 +7338,15 @@ A jump table for the options with a short description can be found at |Q_op|.
For $XDG_CONFIG_HOME see |xdg-base-dir|.

The defaults for most systems are setup to search five locations:
1. In your home directory, for your personal preferences.
1. In your $MYVIMDIR directory, for your personal preferences.
2. In a system-wide Vim directory, for preferences from the system
administrator.
3. In $VIMRUNTIME, for files distributed with Vim.
*after-directory*
4. In the "after" directory in the system-wide Vim directory. This is
for the system administrator to overrule or add to the distributed
defaults (rarely needed)
5. In the "after" directory in your home directory. This is for
5. In the "after" directory in your $MYVIMDIR directory. This is for
personal preferences to overrule or add to the distributed defaults
or system-wide settings (rarely needed).

Expand Down