vim-patch:8.2.3780: ":cd" works differently on MS-Windows

Problem:    ":cd" works differently on MS-Windows.
Solution:   Add the 'cdhome' option. (closes vim/vim#9324)
29f3a45915
This commit is contained in:
zeertzjq
2021-12-25 11:31:54 +08:00
parent 0d7a97224f
commit 42cf76fd0a
8 changed files with 52 additions and 12 deletions

View File

@@ -274,6 +274,14 @@ return {
varname='p_cmp',
defaults={if_true="internal,keepascii"}
},
{
full_name='cdhome', abbreviation='cdh',
short_desc=N_("change directory to the home directory by :cd"),
type='bool', scope={'global'},
secure=true,
varname='p_cdh',
defaults={if_true=false}
},
{
full_name='cdpath', abbreviation='cd',
short_desc=N_("list of directories searched with \":cd\""),