New option: g:startify_change_cmd

Different people prefer different values. Can be set to 'cd', 'lcd', or 'tcd'.

Closes https://github.com/mhinz/vim-startify/issues/425
This commit is contained in:
Marco Hinz 2020-10-07 14:37:48 +02:00 committed by Marco Hinz
parent e18fa54e64
commit aa6b82783b
2 changed files with 27 additions and 3 deletions

View file

@ -101,6 +101,7 @@ default values.
|g:startify_bookmarks|
|g:startify_change_to_dir|
|g:startify_change_to_vcs_root|
|g:startify_change_cmd|
|g:startify_custom_header|
|g:startify_enable_special|
|g:startify_list_order|
@ -378,6 +379,19 @@ VCS (if there is one).
At the moment only git, hg, bzr and svn are supported.
------------------------------------------------------------------------------
*g:startify_change_cmd*
>
let g:startify_change_cmd = 'lcd'
<
The default command for switching directories. Valid values:
'cd' (|:cd|)
'lcd' (|:lcd|)
'tcd' (|:tcd|)
Affects |g:startify_change_to_dir| and |g:startify_change_to_vcs_root|.
------------------------------------------------------------------------------
*g:startify_skiplist*
>