Skip to content

Add scrollz plugin and ember colorschemes - #139

Open
vish9812 wants to merge 1 commit into
micro-editor:masterfrom
vish9812:add-scrollz-and-ember
Open

Add scrollz plugin and ember colorschemes#139
vish9812 wants to merge 1 commit into
micro-editor:masterfrom
vish9812:add-scrollz-and-ember

Conversation

@vish9812

@vish9812 vish9812 commented Aug 8, 2026

Copy link
Copy Markdown

Adds two plugins, both pure Lua with no external dependencies, MIT licensed, tested against micro 2.0.15.

scrollz — viewport control. scrollz top / bottom scroll the cursor's line to the edges of the view; micro has Center, but CursorToViewTop/CursorToViewBottom are the inverse, moving the cursor rather than the view. scrollz halfdown / halfup complement HalfPageUp/HalfPageDown, which scroll the view but leave the cursor behind, so Relocate() undoes the scroll on the next cursor movement. Both count display rows rather than buffer lines, so they stay correct under softwrap, and scrollmargin is honoured.

ember — four truecolor colorschemes sharing one accent palette across four canvases: two transparent darks (warm and cool neutrals), one opaque dark, one light. Registered as RTColorscheme runtime files so they show up in set colorscheme completion beside the built-ins, following the same pattern as the existing gotham-colors entry.

Notes for the maintainer

  • Added plugins/scrollz.json and plugins/ember.json, and the two channel.json entries pointing at them.
  • The Url fields currently point at tagged GitHub archives in my own repos, both verified reachable. Happy to have them re-hosted on the plugins release instead if that is preferred, just say the word and I will update the PR.

Repos: https://github.com/vish9812/micro-scrollz and https://github.com/vish9812/micro-ember

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PgFHKqrxXsZFDXs5wLdJrW
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant