|
1 | | -*options.txt* For Vim version 9.1. Last change: 2024 Mar 29 |
| 1 | +*options.txt* For Vim version 9.1. Last change: 2024 May 02 |
2 | 2 |
|
3 | 3 |
|
4 | 4 | VIM REFERENCE MANUAL by Bram Moolenaar |
@@ -6683,7 +6683,8 @@ A jump table for the options with a short description can be found at |Q_op|. |
6683 | 6683 | < |
6684 | 6684 | *'runtimepath'* *'rtp'* *vimfiles* |
6685 | 6685 | 'runtimepath' 'rtp' string (default: |
6686 | | - Unix: "$HOME/.vim, |
| 6686 | + Unix: "$HOME/.vim or |
| 6687 | + $XDG_CONFIG_HOME/vim, |
6687 | 6688 | $VIM/vimfiles, |
6688 | 6689 | $VIMRUNTIME, |
6689 | 6690 | $VIM/vimfiles/after, |
@@ -6735,6 +6736,8 @@ A jump table for the options with a short description can be found at |Q_op|. |
6735 | 6736 |
|
6736 | 6737 | And any other file searched for with the |:runtime| command. |
6737 | 6738 |
|
| 6739 | + For $XDG_CONFIG_HOME see |xdg-base-dir|. |
| 6740 | + |
6738 | 6741 | The defaults for most systems are setup to search five locations: |
6739 | 6742 | 1. In your home directory, for your personal preferences. |
6740 | 6743 | 2. In a system-wide Vim directory, for preferences from the system |
@@ -8986,13 +8989,15 @@ A jump table for the options with a short description can be found at |Q_op|. |
8986 | 8989 | *'viewdir'* *'vdir'* |
8987 | 8990 | 'viewdir' 'vdir' string (default for Amiga: "home:vimfiles/view", |
8988 | 8991 | for Win32: "$HOME/vimfiles/view", |
8989 | | - for Unix: "$HOME/.vim/view", |
| 8992 | + for Unix: "$HOME/.vim/view" or |
| 8993 | + "$XDG_CONFIG_HOME/vim/view" |
8990 | 8994 | for macOS: "$VIM/vimfiles/view", |
8991 | 8995 | for VMS: "sys$login:vimfiles/view") |
8992 | 8996 | global |
8993 | 8997 | {not available when compiled without the |+mksession| |
8994 | 8998 | feature} |
8995 | 8999 | Name of the directory where to store files for |:mkview|. |
| 9000 | + For $XDG_CONFIG_HOME see |xdg-base-dir|. |
8996 | 9001 | This option cannot be set from a |modeline| or in the |sandbox|, for |
8997 | 9002 | security reasons. |
8998 | 9003 |
|
|
0 commit comments