Skip to content

micro-garden/toggle-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Toggle Options Plugin for Micro

Toggle Options is a plugin for the micro 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 for more details.

Installation

Place the plugin folder in ~/.config/micro/plug/toggle/, or clone it directly from the GitHub repository:

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)

Ref: zyedidia/micro#2086 (comment)

Adapted for plugin use by Aki Kareha