View & render · alpha · Neovim 0.10+ · 270 commits

ui.nvim

The frame around the window: statusline, tabline, theme assembly — standing on Neovim's own APIs rather than a distribution's. Started from roughly 4,500 lines of working statusline, tabline and theme code extracted out of a NvChad-based config, and replaced the coupling to NvChad and base46 symbol by symbol from there.

Repository README :help

recorded with VHS from demos/ui.tape in a clean Neovim — re-recorded weekly
what is shown when
  1. :UI zen - the buffer alone, centred, everything else dimmed
  2. :UI color - a colour picker over the hex under the cursor
  3. ui.notify - vim.notify as level-coloured toasts

Install

{
  "StefanBartl/ui.nvim",
  opts = {},
}

Alpha. All statusline, tabline and theme code stands on Neovim's own APIs — neither NvChad nor base46 are required any more, including by the reference host this plugin was extracted from. See the migration record for how it got there, and pin a commit if you depend on it.

Documentation

Recent commits

  1. docs chips.shape uses the current shape names
  2. fix kit: message_log 'more above' hint rendered blank despite room for it
  3. fix kit: message_log never resized past its 1-line placeholder, has_more_older dead-end hint, swapped key hints
  4. fix kit: cap message_log entries, hoist its namespaces
  5. feat kit: message_log -- paginated, collapsible, time-ordered entry list popup
  6. fix toast: bound the work a toast does (8 KB looked at, max_lines rows, ellipsis)
  7. fix toast: use the theme zindex.toast (70), toasts were hidden behind snacks pickers
  8. feat toast: width follows the text between a minimum and 40% of the editor

Combos