summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilip H.F. "FiXato" Slagter <fixato@gmail.com>2018-11-19 20:51:54 +0100
committerSébastien Helleu <flashcode@flashtux.org>2018-11-19 20:59:31 +0100
commitfc0a3ef10a17a0a971098d354493d3ac58ff4b49 (patch)
tree1cc486b0e506a83bd5ddeee093af2afe14a6e0b3
parentd8b2be8f91d01318228672db6c12354f3861c6cb (diff)
downloadweechat-fc0a3ef10a17a0a971098d354493d3ac58ff4b49.zip
doc: add question "How can I disable highlights for specific nicks?" in FAQ (closes #1280)
-rw-r--r--doc/en/weechat_faq.en.adoc37
1 files changed, 37 insertions, 0 deletions
diff --git a/doc/en/weechat_faq.en.adoc b/doc/en/weechat_faq.en.adoc
index 9f728b9fe..4c319b1a3 100644
--- a/doc/en/weechat_faq.en.adoc
+++ b/doc/en/weechat_faq.en.adoc
@@ -827,6 +827,43 @@ Other scripts on this subject:
/script search notify
----
+[[disable_highlights_for_specific_nicks]]
+=== How can I disable highlights for specific nicks?
+
+With WeeChat ≥ 0.3.4 you can use the
+link:weechat_user.en.html#max_hotlist_level_nicks[hotlist_max_level_nicks_add]
+buffer property to set the max hotlist level for some nicks, per buffer,
+or per group of buffers (like IRC servers).
+
+To only disable highlights, you'd have to set it to 2:
+
+----
+/buffer set hotlist_max_level_nicks_add joe:2,mike:2
+----
+
+This buffer property isn't stored in the configuration though.
+To automatically reapply these buffer properties, you would need the
+_buffer_autoset.py_ script:
+
+----
+/script install buffer_autoset.py
+----
+
+For example, to permanently disable highlights from "mike" on #weechat
+on the IRC server freenode:
+
+----
+/buffer_autoset add irc.freenode.#weechat hotlist_max_level_nicks_add mike:2
+----
+
+To apply it to the entire freenode server instead:
+
+----
+/buffer_autoset add irc.freenode hotlist_max_level_nicks_add mike:2
+----
+
+For more examples, see `/help buffer_autoset`.
+
[[irc_target_buffer]]
=== How can I change target buffer for commands on merged buffers (like buffer with servers)?