Add olwb (one-line-with-benefits) plugin#137
Open
TGPSKI wants to merge 3 commits into
Open
Conversation
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.





This adds olwb ("one line with benefits") to the plugin channel.
olwb is a one-line-input notepad inside micro: type a line, press Enter, and it lands in a newest-first feed under the input with a timestamp and any active labels. Notes are grouped as Liner → Session → Message with label inheritance; there's filtering, search, and markdown/JSON export, all driven by slash commands with an in-editor menu and Tab completion. Storage is one JSON file per liner under
$XDG_DATA_HOME/olwb, written atomically.Following the "Adding your own plugin" guide:
plugins/olwb.jsonwith the version zip pointed at the plugins release:https://github.com/micro-editor/plugin-channel/releases/download/plugins/olwb-1.1.0.zip(requires micro >= 2.0.0)channel.jsonlinks toplugins/olwb.jsonin this repositoryLICENSEin the repo andLicensefield in the JSON)Pure Lua; the only third-party code is a vendored copy of rxi/json.lua (MIT). The plugin registers its own help (
> help olwb), syntax file, and an optional colorscheme; all keybinds are overridable and its buffers are scratch panes underolwb://paths. Screenshots are in the comment below.