When I need to copy&paste from the email I'm reading in the Mutt, I had to enter edit mode (press 'e'), so sidebar gets out of my way. So I was thinking: would it be possible to hide sidebar when you enter reading mode (i.e. "pager") and then show it again when you leave pager mode back to screen with list of your emails (i.e. "index" mode)?
message-hook ~A "set sidebar_visible = no" macro pager q "set sidebar_visible = yes "
So, this way you set sidebar invisible when you are viewing message (that "~A" is a mutt pattern to specify "any message") and then when I press "q" to close the pager, it sets sidebar to be visible again and exits the pager.
No comments:
Post a Comment