2 # weechat -- autosort.conf
4 # WARNING: It is NOT recommended to edit this file by hand,
5 # especially if WeeChat is running.
7 # Use commands like /set or /fset to change settings in WeeChat.
9 # For more info, see: https://weechat.org/doc/weechat/quickstart/
18 signals = "buffer_opened buffer_merged buffer_unmerged buffer_renamed"
20 sort_on_config_change = on
23 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}}}"}"
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}"]"