Skip to content

Instantly share code, notes, and snippets.

@pascalpoitras
Created January 5, 2026 00:04
Show Gist options
  • Select an option

  • Save pascalpoitras/9d7fc942ed9d91a87ff37a4e8eddff84 to your computer and use it in GitHub Desktop.

Select an option

Save pascalpoitras/9d7fc942ed9d91a87ff37a4e8eddff84 to your computer and use it in GitHub Desktop.
collapse expand I made for someone
/key bindctxt mouse @bar(buflist):button2 /mute /toggle weechat.buffer.${buffer[${info:irc_buffer,${localvar_server}}].full_name}.localvar_set_collapse 1 0

/set buflist.look.display_conditions "${buffer.hidden} == && (${type} !~ ^(channel|list|private)$ || ${type} =~ ^(channel|list|private)$ && ${buffer[${info:irc_buffer,${buffer.local_variables.server}}].local_variables.collapse} ==)"
@fejjj
Copy link

fejjj commented Jan 5, 2026

Works great!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment