Autocorrect

This plugin lets you perform simple replacements on the last message.

Installation

Load the plugin:

/load autocorrect

Usage

Note

This plugin only performs simple replacements, not with regular expressions, despite the syntax. Although it would be possible, that would be even less useful.

Once the plugin is loaded, any message matching the following regex:

^s/(.+?)/(.*?)(/|/g)?$

will be interpreted as a replacement, and the substitution will be applied to the last sent message.

For example, if you sent the message:

This tab lists all public rooms on a MUC service. It is currently very limited but will be improved in the future. There currently is no way to search a room.

And you now want to replace “MUC” with “multi-user chat”, you input:

s/MUC/multi-user chat

And poezio will correct the message for you.

Table Of Contents

Previous topic

Pointpoint

Next topic

Development documentation

This Page