- Notifications
You must be signed in to change notification settings - Fork0
Provides a completion for "s/typo/correct"
pSub/weechat-correction-completion
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
If you want to correct yourself, you often do this using theexpression 's/typo/correct'. This plugin allows you to complete thefirst part (the typo) by pressingTab. The words from the actualbuffer are used to complet this part. If the word can be perfectlymatched the next word in alphabetical order is shown.
The second part (the correction) can also be completed. Just pressTab after the slash and the best correction for the typo is fetched from aspell.If you pressTab again, it shows the next suggestion.The language used for suggestions can be set with the option
plugins.var.python.correction_completion.lang
The aspell language pack must be installed for this language.
Add the template %(correction_completion) to the default completion template.The best way to set the template is to use theiset-plugin,because you can see there the current value before changing it. Of course you can also use thestandard /set-command e.g.
/set weechat.completion.default_template "%(nicks)|%(irc_channels)|%(correction_completion)"
About
Provides a completion for "s/typo/correct"
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.