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.pos

nx.pos.get(expr)

No documentation comment in the prelude.

Defined in vimfn.lua.

nx.pos.set(expr, pos)

nx.pos.set(expr, pos) [alias vim.fn.setpos]: move the cursor when expr is “.” (the only settable position nxvim models); pos is {bufnr, lnum, col, off}. Other marks are accepted but not stored (no writable-mark mirror), returning 0.

Defined in vimfn.lua.