https://github.com/micro-garden/toggle-plugin
Toggle boolean options in micro editor.
https://github.com/micro-garden/toggle-plugin
micro micro-editor micro-plugin option plugin terminal text-editor toggle
Last synced: about 1 month ago
JSON representation
Toggle boolean options in micro editor.
- Host: GitHub
- URL: https://github.com/micro-garden/toggle-plugin
- Owner: micro-garden
- License: mit
- Created: 2025-07-27T11:46:02.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-08-19T09:21:54.000Z (10 months ago)
- Last Synced: 2025-10-25T15:15:24.688Z (7 months ago)
- Topics: micro, micro-editor, micro-plugin, option, plugin, terminal, text-editor, toggle
- Language: Lua
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Toggle Options Plugin for Micro
**Toggle Options** is a plugin for
the [micro](https://micro-editor.github.io/) text editor that adds two
commands for toggling boolean configuration options.
It is especially useful when bound to keyboard shortcuts, allowing quick
enable/disable of features like `wordwrap`, `hlsearch`, or `linter`.
See [help/toggle.md](help/toggle.md) for more details.
## Installation
Place the plugin folder in `~/.config/micro/plug/toggle/`, or clone it
directly from the GitHub repository:
```sh
mkdir -p ~/.config/micro/plug
git clone https://github.com/micro-garden/toggle-plugin ~/.config/micro/plug/toggle
```
Alternatively, this plugin is also available through the unofficial plugin
channel:
https://github.com/micro-garden/unofficial-plugin-channel
You can install it by adding the channel and then using `plugin install`.
## License
MIT.
## Author
Aki Kareha (aki@kareha.org)
## Credits
Original idea and base code by Dmytro Maluka
([dmaluka](https://github.com/dmaluka))
Ref: https://github.com/zyedidia/micro/issues/2086#issuecomment-826351299
Adapted for plugin use by Aki Kareha