-*options.txt* For Vim version 9.1. Last change: 2026 Jan 11
+*options.txt* For Vim version 9.1. Last change: 2026 Jan 28
VIM REFERENCE MANUAL by Bram Moolenaar
You can use |g:actual_curtabpage| within a function assigned to
tabpanel. |g:actual_curtabpage| represents current tab's label number.
- The option value can contain line breaks: >
+ The option value can contain "\n" to force line breaks: >
set tabpanel=%!TabPanel()
function! TabPanel() abort
| |
| |
<
+ Note: using "\n" is considered experimental and may change in the
+ future; a %-atom may be used instead.
+
*'tabpanelopt'* *'tplo'*
'tabpanelopt' 'tplo' string (default "")
global