0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.2.0909: cannot go back to the previous local directory

Problem:    Cannot go back to the previous local directory.
Solution:   Add "tcd -" and "lcd -". (Yegappan Lakshmanan, closes #4362)
This commit is contained in:
Bram Moolenaar
2020-06-05 22:33:42 +02:00
parent 3fffa97159
commit 002bc79991
7 changed files with 117 additions and 13 deletions

View File

@@ -2994,6 +2994,8 @@ struct tabpage_S
char_u *tp_localdir; // absolute path of local directory or
// NULL
char_u *tp_prevdir; // previous directory
#ifdef FEAT_DIFF
diff_T *tp_first_diff;
buf_T *(tp_diffbuf[DB_COUNT]);
@@ -3397,6 +3399,7 @@ struct window_S
char_u *w_localdir; // absolute path of local directory or
// NULL
char_u *w_prevdir; // previous directory
#ifdef FEAT_MENU
vimmenu_T *w_winbar; // The root of the WinBar menu hierarchy.
winbar_item_T *w_winbar_items; // list of items in the WinBar