autosort.conf (1429B)
1 # 2 # weechat -- autosort.conf 3 # 4 # WARNING: It is NOT recommended to edit this file by hand, 5 # especially if WeeChat is running. 6 # 7 # Use /set or similar command to change settings in WeeChat. 8 # 9 # For more info, see: https://weechat.org/doc/quickstart 10 # 11 12 [sorting] 13 case_sensitive = off 14 debug_log = off 15 replacements = "[["##", "#"], ["##", "#"], ["##", "#"]]" 16 rules = "[["core", 0], ["irc", 2], ["*", 1], ["irc.irc_raw", 0], ["irc.server", 1], ["irc.server.*.&*", 0], ["irc.server.*.#*", 1], ["irc.server.*.\\*status", 2], ["irc.server.*.&*", 0], ["irc.server.*.#*", 1], ["irc.server.*.\\*status", 2], ["irc.server.*.&*", 0], ["irc.server.*.#*", 1], ["irc.server.*.\\*status", 2]]" 17 signal_delay = 5 18 signals = "buffer_opened buffer_merged buffer_unmerged buffer_renamed" 19 sort_limit = 100 20 sort_on_config_change = on 21 22 [v3] 23 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}"}" 24 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}"]"