How do you hide columns when inside the ibuffer window?
I don't want to see
Size
Mode
Name
Sometimes I just want to see only the column Filename/Process
What I tried: googled ibuffer hide columns
Emacs Stack Exchange is a question and answer site for those using, extending or developing Emacs. It only takes a minute to sign up.
Sign up to join this communityHow do you hide columns when inside the ibuffer window?
I don't want to see
Size
Mode
Name
Sometimes I just want to see only the column Filename/Process
What I tried: googled ibuffer hide columns
You can modify the variable ibuffer-formats:
(setq ibuffer-format-save ibuffer-formats)
(setq ibuffer-formats (append ibuffer-formats '((mark " " filename-and-process))))
After this, the backtick character (which runs ibuffer-switch-format) forces redisplay and cycles through the formats specified. In my emacs, after running the above, there are now three formats in that cycle.
mark
in every format, i.e. (mark " " filename-and-process)
or similar, to reduce the risk of accidental mishaps.
– Basil
Dec 1 '17 at 17:37