swaits ad40d2193f
CI / lint (push) Canceled after 0s
CI / test (push) Canceled after 0s
chore: repoint remaining links and host-specific tooling at git.swaits.com
Covers files missed by the first pass (.svelte/.astro components, bare org and
profile links, plugin doc headers), plus content that needed rewriting rather
than a URL swap: the chezmoi bootstrap script now provisions SSH for
git.swaits.com (User git, port 2222) and initialises from Gitea.

Link labels were updated to match their new targets.
2026-08-31 18:35:27 -06:00
2026-04-09 17:30:24 -06:00
2026-04-09 17:30:24 -06:00
2026-04-09 17:30:24 -06:00
2026-04-09 17:30:24 -06:00
2026-04-09 17:30:24 -06:00
2026-04-09 17:30:24 -06:00
2026-04-09 17:30:24 -06:00
2026-04-09 17:30:24 -06:00
2026-04-09 17:30:24 -06:00
2026-04-09 17:30:24 -06:00

tiny-lastplace.nvim

A tiny plugin for Neovim 0.12+ that restores the cursor to its last position when reopening a file.

Zero config. ~20 lines of Lua.

Features

  • Restores cursor to last edit position on file open
  • Skips excluded filetypes (e.g. gitcommit)
  • Works out of the box — no setup call required

Requirements

  • Neovim >= 0.12

Installation

Add to your vim.pack.add() call:

"https://git.swaits.com/swaits/tiny-lastplace.nvim",

Configuration

All options are optional. Call setup() only if you want to customize:

require("tiny-lastplace").setup({
  exclude = { "gitcommit" }, -- filetypes to skip
})

License

MIT

S
Description
Restore cursor position on file open
Readme MIT
38 KiB
0 Stars 1 Watchers 0 Forks
Languages
Lua 81.5%
Shell 18.5%