How to remove an element for a list efficiently?
Hey,
I want to configure the ivy-rich-display-transformers-list variable from the ivy-rich package. More precisely, I just want to remove the (ivy-rich-switch-buffer-project (:width 0.18 :face success)) part of it, that shows to which project a buffer belongs when switching buffers.
Redefining the entire variable without this bit clutters my config a lot since this variable has a lot of content.
Is there a few to just remove that bit from the original value of the variable? I tried to do it using my limited elisp, but I couldn't do it even in a semi-elegant way.
Any tips there?
Cheers!
Posted Jun 16, 2021, 12:00 PM UTC
The simplest thing to do is usually