diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2016-11-26 14:10:19 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2016-11-26 14:10:19 +0100 |
commit | e6dd5a06e167a81147f81bedf2945eff2ddb62cb (patch) | |
tree | 57b49b87e1d600b2d4bc0a0950f06514cb30edf6 /doc/en | |
parent | 377fad22dbee02dfdbcb778cdb781409054838a5 (diff) | |
download | weechat-e6dd5a06e167a81147f81bedf2945eff2ddb62cb.zip |
doc: add chapter about buffer property "highlight_regex" in user's guide
Diffstat (limited to 'doc/en')
-rw-r--r-- | doc/en/weechat_user.en.adoc | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/en/weechat_user.en.adoc b/doc/en/weechat_user.en.adoc index 972045b8a..2622f63c8 100644 --- a/doc/en/weechat_user.en.adoc +++ b/doc/en/weechat_user.en.adoc @@ -1164,6 +1164,23 @@ from nicks beginning with "toto": /set weechat.look.highlight_tags "nick_flashcode,irc_notice+nick_toto*" ---- +[[highlights_regex_buffer]] +==== Set extra highlights on buffer + +You can force highlight using a regular expression with the buffer property +"highlight_regex". + +For example to force the highlight on all messages in the current buffer: + +---- +/buffer set highlight_regex .* +---- + +[NOTE] +The buffer property "highlight_regex" is not saved in configuration. + +You can easily save it with the script _buffer_autoset.py_: you can install it +with `/script install buffer_autoset.py` and get help with `/help autosetbuffer`. + [[key_bindings]] === Default key bindings |