Skip to main content
The status bar plugin owns the bottom status strip on desktop (and an equivalent strip on mobile when present) and provides a registration API for other plugins to contribute items.

v0 scope

  • Active file word count and character count.
  • Cursor position (line:column).
  • Indexing state indicator (idle / indexing / failed).
  • Vault path indicator.
  • Public registration API for plugin-contributed items (text, icon, click handler).

Public API

const statusBar = await ctx.plugins.getApi("zorid.core.status-bar");

ctx.register.dispose(
  statusBar.addItem({
    id: "my-plugin.sync",
    text: "↑ 3 unsynced",
    icon: "cloud-arrow-up",
    onClick: () => ctx.commands.run("my-plugin.sync-now"),
  })
);

Source

Full status-bar plan on GitHub.