Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

nx.tabpage

nx.tabpage.current()

No documentation comment in the prelude.

Defined in api.lua.

nx.tabpage.list()

No documentation comment in the prelude.

Defined in api.lua.

nx.tabpage.is_valid(tab)

No documentation comment in the prelude.

Defined in api.lua.

nx.tabpage.number(tab)

No documentation comment in the prelude.

Defined in api.lua.

nx.tabpage.wins(tab)

No documentation comment in the prelude.

Defined in api.lua.

nx.tabpage.win(tab)

No documentation comment in the prelude.

Defined in api.lua.

nx.tabpage.nr(arg)

nx.tabpage.nr([arg]) [alias vim.fn.tabpagenr]: the current tab page’s 1-based number, or with “$” the number of tab pages — the tab analogue of winnr(). Backs the loop in a custom 'tabline' (for i = 1, tabpagenr('$')). Resolves from the nx._tabs / nx._tab_order mirror the server pushes before evaluating the tabline.

Defined in api.lua.

nx.tabpage.buflist(nr)

nx.tabpage.buflist(nr) [alias vim.fn.tabpagebuflist]: the list of buffer numbers shown in tab page nr (1-based; nil/0 is the current tab), one per window in that tab — what a custom 'tabline' label reads to find the tab’s active file. Reads the tab mirror’s per-window buffers (parallel to windows), which the server fills for EVERY tab — unlike the global window mirror, which only carries the current tab, so nvim_win_get_buf would resolve an inactive tab’s window to the current buffer.

Defined in api.lua.