]> git.rmz.io Git - dotfiles.git/blobdiff - weechat/autosort.conf
lazyvim: absorb keymaps
[dotfiles.git] / weechat / autosort.conf
index cd11d47490edabdec92ad3bd5bdcf193eb1bd67b..885e357104e8d9d2d4f8ed8441ce93998897930b 100644 (file)
@@ -4,9 +4,9 @@
 # WARNING: It is NOT recommended to edit this file by hand,
 # especially if WeeChat is running.
 #
-# Use /set or similar command to change settings in WeeChat.
+# Use commands like /set or /fset to change settings in WeeChat.
 #
-# For more info, see: https://weechat.org/doc/quickstart
+# For more info, see: https://weechat.org/doc/weechat/quickstart/
 #
 
 [sorting]
@@ -20,5 +20,5 @@ sort_limit = 100
 sort_on_config_change = on
 
 [v3]
-helpers = "{"core_first": "${if:${buffer.full_name}!=core.weechat}", "irc_raw_last": "${if:${buffer.full_name}==irc.irc_raw}", "irc_last": "${if:${buffer.plugin.name}==irc}", "hashless_name": "${info:autosort_replace,#,,${buffer.name}}", "irc_first": "${if:${buffer.plugin.name}!=irc}", "irc_raw_first": "${if:${buffer.full_name}!=irc.irc_raw}"}"
+helpers = "{"core_first": "${if:${buffer.full_name}!=core.weechat}", "irc_first": "${if:${buffer.plugin.name}!=irc}", "irc_last": "${if:${buffer.plugin.name}==irc}", "irc_raw_first": "${if:${buffer.full_name}!=irc.irc_raw}", "irc_raw_last": "${if:${buffer.full_name}==irc.irc_raw}", "hashless_name": "${info:autosort_replace,#,,${info:autosort_escape,${buffer.name}}}"}"
 rules = "["${core_first}", "${irc_last}", "${buffer.plugin.name}", "${irc_raw_first}", "${if:${plugin}==irc?${server}}", "${if:${plugin}==irc?${info:autosort_order,${type},server,*,channel,private}}", "${if:${plugin}==irc?${hashless_name}}", "${buffer.full_name}"]"