Mercurial > vim
diff src/structs.h @ 20711:d91b8d1e5198 v8.2.0909
patch 8.2.0909: cannot go back to the previous local directory
Commit: https://github.com/vim/vim/commit/002bc79991286934a9593b80635c27d4238cdfc4
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jun 5 22:33:42 2020 +0200
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 https://github.com/vim/vim/issues/4362)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 05 Jun 2020 22:45:04 +0200 |
parents | 99b6e6bf48bf |
children | f4455c71a8aa |
line wrap: on
line diff
--- a/src/structs.h +++ b/src/structs.h @@ -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