powerline icon indicating copy to clipboard operation
powerline copied to clipboard

Toggle displaying major and minor modes in mode-line

Open ayys opened this issue 1 year ago • 0 comments

Why do this?

A lot of times, the mode-line gets cluttered with many minor modes, which makes it look messy. Many times (especially on smaller screens), the content of mode-line exceeds screen-width and gets cut-off. This is very annoying. I don't usually need to see the minor-modes all the time, so adding this customization made sense to me. This way, I can have a function to toggle the minor modes on if I want to view them, otherwise I can keep them turned off.

What does it do?

Adds the ability to toggle whether major-mode and/or minor-modes are displayed in the mode line.

Major mode can be toggled via powerline-display-major-mode custom var. Minor modes can be toggled via powerline-display-minor-modes custom var.

ayys avatar Feb 14 '24 08:02 ayys