Questions tagged [ibuffer]

44 questions
21
votes
3 answers

Set column widths in `ibuffer`

Is there a way to customize the widths of the columns in ibuffer? Specifically, I want to widen the Name column to be able to read more of the buffer names before they get truncated. I have tried Buffer-menu-name-width, but it seems that the…
nispio
  • 8,175
  • 2
  • 35
  • 73
12
votes
1 answer

what do [ *, %, >, D ] mean in ibuffer buffer?

When I open ibuffer to manage opened buffers I see [ *, %, >, D ] markings. There is no documentation describing what they mean. I wonder what do they mean (Emacs 26.1) ?
A_P
  • 662
  • 4
  • 21
12
votes
2 answers

How can I make ibuffer auto-refresh the list of buffers?

M-x ibuffer Select a buffer Kill that buffer After the buffer is killed, the ibuffer buffer re-appears, but it still shows the buffer name killed in step 3. Is it possible to have ibuffer auto-refresh the list of buffers?
Kevin Wright
  • 359
  • 1
  • 16
10
votes
4 answers

How can I run a keyboard macro in selected buffers from Ibuffer or selected files from dired?

If I have to do some variable name refactoring, I use ag and multiple-cursors. But when I have to do some code block removal/addition/moving, I use keyboard macros. But I need to switch to each buffer and initiate that macro run manually. Is there a…
Kaushal Modi
  • 25,203
  • 3
  • 74
  • 179
9
votes
3 answers

ibuffer: how to automatically create groups per project

I'd like to group my buffer list in ibuffer by project. Project is meant in the Projectile sense of the word. I don't want to change my Emacs configuration every time I'm working on a new project. Is there a way to achieve this automatically?
ckruse
  • 457
  • 3
  • 12
9
votes
3 answers

How to use "o" to open from dired/ibuffer into another frame

I have two windows open and split vertically (single frame): A) contains my work B) contains either dired or ibuffer. I would like to be able to navigate to a file/buffer in pane B and hit "o" have it open in pane A. Is this possible? Right now…
Robert
  • 99
  • 1
  • 3
8
votes
1 answer

Rename buffer in Ibuffer

A buffer can be renamed with rename-buffer command. Is it possible to rename buffers from IBuffer? A use case is to rename a bunch of Term buffers from Ibuffer. The default name for Term buffers is *terminal*.
nephewtom
  • 2,219
  • 17
  • 29
7
votes
1 answer

How can I hide unwanted buffers when cycling with C-x

I often have various files open and cycle through them using C-x and C-x . However, this means I also need to cycle through various "informative" buffers that I really don't care about. For example, at work I connect to a remote…
terdon
  • 745
  • 6
  • 21
6
votes
1 answer

Predicates in ibuffer saved filter groups

How do I add a new ibuffer saved filter group which matches all files in org-agenda-files? Something like: (setq-default ibuffer-saved-filter-groups `(("Default" ("Agenda" (or (mode . org-agenda-mode) …
6
votes
3 answers

How to get ibuffer to use directory tree as filter groups

So I'm looking for some insight into how to customize my ibuffer window. I don't know much lisp but have a decent amount of emacs experience. I tried solving it based on some google searches: http://emacswiki.org/emacs/IbufferMode#toc10…
4
votes
1 answer

Terminating ibuffer incremental search

When I terminate a Multi I-search, Emacs takes me back to the original buffer rather than the result I'm looking at. I've tried terminating the search with RET, escape, arrow keys, and none of these have worked. What should I be doing instead? To…
Chris
  • 699
  • 3
  • 13
4
votes
1 answer

Can Ibuffer show buffers last viewing time?

I was wondering if it is possible to have a column in Ibuffer that shows the last viewing time. In the default view I can see these columns: MR Name Size Mode Filename/Process -- ---- ---- ---- …
nephewtom
  • 2,219
  • 17
  • 29
3
votes
2 answers

project based ibuffer

I have emacs 27 on MacOS running in -nw mode. I have prelude installed. It comes with projectile. I regularly work on two git repos in my disk. ~/client1/ ~/client2/ In any given day, I would open files in both those folders. When I press C-x C-b,…
american-ninja-warrior
  • 3,773
  • 2
  • 21
  • 40
3
votes
2 answers

VC status behavior in ibuffer-vc

I use ibuffer-vc, a replacement for list-buffer that displays the VC status of the listed files. I noted that the VC status stays as "edited" even after I push my changes. That is, the VC status does not differentiate between the following two…
falsum
  • 145
  • 5
2
votes
1 answer

ibuffer-expert not working

I want to make my ibuffer not to be pompted. So it is my config for ibuffer (setq ibuffer-expert t) ;; disable prompt when deleting modified buffer. (add-hook 'ibuffer-hook (lambda () (ibuffer-auto-mode 1) ;; keeps ibuffer list up to…
Jay Lee
  • 323
  • 2
  • 9
1
2 3