diff options
author | neodarz <neodarz@neodarz.net> | 2018-06-12 22:40:51 +0200 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2018-06-12 22:44:19 +0200 |
commit | 646717413e86ec4451667e9a6e898680f68b02ea (patch) | |
tree | 3e96afcbb899191236cdce6c478edcee17709ff8 /autosort.conf | |
parent | d556bada9ab880d9137b89453b94fb99da6a61d9 (diff) | |
download | weechat_conf-646717413e86ec4451667e9a6e898680f68b02ea.tar.xz weechat_conf-646717413e86ec4451667e9a6e898680f68b02ea.zip |
dd autosort, for correct sort buffer
Diffstat (limited to 'autosort.conf')
-rw-r--r-- | autosort.conf | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/autosort.conf b/autosort.conf new file mode 100644 index 0000000..923dff9 --- /dev/null +++ b/autosort.conf @@ -0,0 +1,22 @@ +# +# weechat -- autosort.conf +# +# 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. +# +# For more info, see: https://weechat.org/doc/quickstart +# + +[sorting] +case_sensitive = off +replacements = "" +rules = "" +signal_delay = 5 +signals = "buffer_opened buffer_merged buffer_unmerged buffer_renamed" +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}"}" +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}"]" |