File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- *starting.txt* For Vim バージョン 9.2. Last change: 2026 Feb 16
1+ *starting.txt* For Vim バージョン 9.2. Last change: 2026 Feb 18
22
33
44 VIM リファレンスマニュアル by Bram Moolenaar
@@ -1093,8 +1093,13 @@ https://specations.freedesktop.org/basedir-spec/latest/
10931093 `$XDG_DATA_HOME ` $HOME/.local/share 永続的なデータファイル群
10941094 `$XDG_STATE_HOME ` $HOME/.local/state 状態データファイル群
10951095
1096- Vim は `$XDG_CONFIG_HOME ` ディレクトリのみを使用し、その他のディレクトリは (ま
1097- だ) さまざまな設定ファイルや状態ファイルに使用されない。
1096+ *xdg.vim*
1097+ Vim 自体は $XDG_CONFIG_HOME ディレクトリのみを使用する。その他の XDG ディレク
1098+ トリのサポートは、"$VIMRUNTIME/xdg.vim" スクリプトによって提供される。
1099+ Note: xdg.vim は、$XDG_CONFIG_HOME/vim ディレクトリ (またはデフォルトのフォー
1100+ ルバック) が存在する場合にのみ有効である。デフォルトでは、'viminfofile' オプ
1101+ ションのみを設定する。その他のオプション設定はコメントアウトされている。有効化
1102+ 方法の詳細については、スクリプトを参照。
10981103
10991104 *xdg-vimrc*
11001105Unix システムの Vim は、その構成について `$XDG_CONFIG_HOME /vim/ vimrc` を参照す
Original file line number Diff line number Diff line change 1- *starting.txt* For Vim version 9.2. Last change: 2026 Feb 16
1+ *starting.txt* For Vim version 9.2. Last change: 2026 Feb 18
22
33
44 VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1125,8 +1125,13 @@ This is not an exhaustive list of those directories:
11251125 `$XDG_DATA_HOME ` $HOME/.local/share Persistent data files
11261126 `$XDG_STATE_HOME ` $HOME/.local/state State data files
11271127
1128- Vim will only use the `$XDG_CONFIG_HOME ` directory, the others are not
1129- (yet) used for its various configuration and state files.
1128+ *xdg.vim*
1129+ Vim itself will only use the $XDG_CONFIG_HOME directory. Support for the
1130+ other XDG directories is provided by the "$VIMRUNTIME/xdg.vim" script.
1131+ Note: xdg.vim is only effective if the $XDG_CONFIG_HOME/vim directory (or
1132+ its default fallback) exists. By default, it only sets the 'viminfofile'
1133+ option. Other option settings are commented out, see the script for
1134+ details on how to enable them.
11301135
11311136 *xdg-vimrc*
11321137Vim, on Unix systems, will look at `$XDG_CONFIG_HOME /vim/ vimrc` for its
You can’t perform that action at this time.
0 commit comments