WeeChat plugin for Mattermost
Python dependencies from PyPi:
Set the WEECHAT_DATA_DIR Makefile variable to match your configuration.
~/.local/share/weechatin newer versions (starting with 3.2)
~/.weechatin older versions
$ make install # WEECHAT_DATA_DIR=~/.weechat
/script load wee_most.py /mattermost server add a_banal_server
You should then edit its configuration such as URL, username, password,... To store the password safely, you can make use of WeeChat secured data storage
Then you can connect/disconnect to servers
/mattermost connect a_banal_server /mattermost disconnect a_banal_server
You can send Mattermost commands using this prefix.
/mattermost slash me Aya ! :3
Mouse click or select a line print the short post id in the input field.
Some command uses this id to interact with posts.
/mattermost reply abc Yeah you right ! /mattermost react abc rofl /mattermost react abc 100 /mattermost delete abc
You can add aliases for some of these commands (if there's no conflict with other plugins)
alias add reply /mattermost reply
For a nice organization of buffers in the buflist, use a sorting by name
/set buflist.look.sort name
Mouse click or select a file line download it and open it.
The multiline perl script is correctly handled by wee-most :
You would still have issues with multiline pasted text. Add this :
/set plugins.var.perl.multiline.weechat_paste_fix "off" /key bind ctrl-J /input insert \n