1

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

3

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.

  • 2
    FWIW, I recommend including 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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.