https://github.com/micro-garden/shout-plugin
Run the current line as a shell command and insert the output below in micro editor.
https://github.com/micro-garden/shout-plugin
command command-line micro micro-editor micro-plugin plugin runner shell terminal text-editor
Last synced: about 2 months ago
JSON representation
Run the current line as a shell command and insert the output below in micro editor.
- Host: GitHub
- URL: https://github.com/micro-garden/shout-plugin
- Owner: micro-garden
- License: mit
- Created: 2025-07-28T13:56:51.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-08-19T09:13:55.000Z (10 months ago)
- Last Synced: 2025-10-25T15:15:24.489Z (8 months ago)
- Topics: command, command-line, micro, micro-editor, micro-plugin, plugin, runner, shell, terminal, text-editor
- 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
# Shell Out Plugin for Micro
**Shell Out** is a plugin for the
[micro](https://micro-editor.github.io/) text editor that runs the current
line as a shell command and insert the output below.
## Usage
Write a shell command on a line, place your cursor on it, and run:
`Ctrl-Alt-b`
Or via command prompt:
```
shout
```
The output of the command is inserted directly below the current line. The
cursor moves to the end of the output.
## Notes
- Output is not modified in any way.
- Lines with only whitespace are ignored.
- If the command is at the end of the buffer and has no newline, one is
prepended to prevent merging.
## Installation
Place the plugin folder in `~/.config/micro/plug/shout/`, or clone it directly
from the GitHub repository:
```sh
mkdir -p ~/.config/micro/plug
git clone https://github.com/micro-garden/shout-plugin ~/.config/micro/plug/shout
```
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)