diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-08-09 14:04:42 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-08-09 14:04:42 +0200 |
commit | 62a232506d06f6d1b3b7271801c907d6294dfe84 (patch) | |
tree | d95d049e9676ef5b8a63ca9096401ca52dc8b90d /src/globals.h | |
parent | 730b24833952f0f4a9a17b7815b0d9f87c609eb8 (diff) |
patch 8.2.1401: cannot jump to the last used tabpagev8.2.1401
Problem: Cannot jump to the last used tabpage.
Solution: Add g<Tab> and tabpagnr('#'). (Yegappan Lakshmanan, closes #6661,
neovim #11626)
Diffstat (limited to 'src/globals.h')
-rw-r--r-- | src/globals.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/globals.h b/src/globals.h index cc01ac2508..72b8a1e460 100644 --- a/src/globals.h +++ b/src/globals.h @@ -725,10 +725,12 @@ EXTERN frame_T *topframe; // top of the window frame tree /* * Tab pages are alternative topframes. "first_tabpage" points to the first - * one in the list, "curtab" is the current one. + * one in the list, "curtab" is the current one. "lastused_tabpage" is the + * last used one. */ EXTERN tabpage_T *first_tabpage; EXTERN tabpage_T *curtab; +EXTERN tabpage_T *lastused_tabpage; EXTERN int redraw_tabline INIT(= FALSE); // need to redraw tabline /* |