Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [ibuffer]

The tag has no usage guidance.

1
vote
1answer
38 views

How to hide all dired buffers in ibuffer?

I want to hide all Dired buffers as major mode in Ibuffer. But (add-to-list 'ibuffer-never-show-predicates "magit*") ibuffer-never-show-predicates accepts a regexp and a function. How can I hide ...
0
votes
0answers
21 views

Emacs flashes when changing buffer with `ido-switch-buffer`

When I change buffer via ido-switch-buffer and enter a python buffer my entire Emacs flashes visually for a second. If I handle other files the same way, it does not. What can be the reason for that? ...
10
votes
1answer
100 views

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) ?
1
vote
1answer
36 views

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 () (...
2
votes
1answer
107 views

How to get xemacs-like Buffers menu entry in emacs?

xemacs has a nicely organized Buffers entry in its built-in menu. As you can see from the snapshot, it's sorted alphabetically and grouped by modes: I can't find how to make emacs do the same. menu-...
3
votes
2answers
55 views

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 ...
1
vote
1answer
51 views

ibuffer hide beginning of lines

When I press C-x C-b I get ibuffer (installed as part of prelude I think) I like to press backtick and get the Filename/Process displayed. Another SE answer helped me with that. (ibuffer hide columns)...
1
vote
1answer
143 views

ibuffer hide columns

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
1
vote
1answer
288 views

Filter out special buffers in buffer list

When I used vanilla Emacs, C-xC-bT showed me the list of files I had open, with special buffers filtered out. Recently I switched to Emacs Prelude, which uses ibuffer, and I'm not sure why the ...
2
votes
1answer
79 views

ibuffer - execute function on buffer at point

In the depth of the internet I found this function which I need foremost but you could see it as an example for any function that can be applied on a buffer. (defun open-in-desktop () "Open the ...
2
votes
1answer
91 views

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 ...
1
vote
1answer
96 views

Open ibuffer selected buffers in the same window

Is it possible to tell ibuffer to visit selected buffer in the same window where ibuffer was shown? In my case it always tries to visit buffer in the other window if there are several windows ...
4
votes
0answers
165 views

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 *...
1
vote
0answers
78 views

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/...
0
votes
1answer
77 views

ibuffer - Cursor on buffer which it was called from

Ibuffer is great, I use it with filter groups which work great. I call Ibuffer using by a keypress, the problem is that the cursor is always on the first buffer in the first category. What I need is ...
2
votes
1answer
36 views

Relocating an anonymous prefix keymap

ibuffer uses / as a prefix key for filter commands, like ibuffer-filter-by-name (/n). As an evil user, I wanted to use a different prefix, since evil uses / for searching. I use space as a leader-...
1
vote
1answer
432 views

Open Ibuffer selected buffer in other existing window

I tried everything but again I'm hitting a wall here. I have one frame split in the middle with a vertical line giving me a window left and right. Now I have Ibuffer open in the left window and I just ...
1
vote
2answers
325 views

Hide dired buffers from IBuffer list?

I have a dired workflow that I like. From a file-visiting buffer, I'll use dired-jump to pop up to the containing directory. Dired renders the directory in a new buffer with the cursor on the file-...
6
votes
1answer
382 views

How can I hide unwanted buffers when cycling with C-x <left/right> [duplicate]

I often have various files open and cycle through them using C-x <left> and C-x <right>. However, this means I also need to cycle through various "informative" buffers that I really don't ...
1
vote
1answer
105 views

How to open new buffer instead of current via elisp?

I want to bind key when in ido-switch-buffer to open ibuffer instead, but I do not understand how to make that with elisp. Here's my config: (defun my-open-ibuffer () "Open ibuffer from ido-switch-...
2
votes
2answers
666 views

automatically use evil for ibuffer and dired

I am switching from vim to emacs and have evil installed. Mostly evil runs perfectly, but after starting emacs the first time and running ibuffer or dired I have to turn on evil-mode (C-z). This is ...
1
vote
0answers
33 views

Be able to see elided Ibuffer entries

I am using Ibuffer for better buffer management and the display format is set to elide long buffer names. This is good but sometimes I would also like to see the full name (like when positioning the ...
8
votes
3answers
1k views

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" ...
5
votes
3answers
802 views

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://...
1
vote
2answers
110 views

What does the M in MR stand for in the first column header of *IBuffer*?

When I run M-x ibuffer, a table of my buffers is displayed. The first column header is MR, and I assume the R stands for read only, however, I don't know what the M stands for. What does it stand for?
8
votes
4answers
924 views

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 ...
1
vote
1answer
99 views

ibuffer: how to filter ruby and rspec buffer into separate groups?

I have files like model.rb and model_spec.rb in my Rails project. Both have ruby as major mode and using a regex doesn't work on the Specs filter group. (setq ibuffer-saved-filter-groups (quote (("...
8
votes
3answers
1k views

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 ...
2
votes
1answer
877 views

Filter Helm buffers by mode in ibuffer

When I try to filter buffers by mode in ibuffer, I am not able to filter by major mode helm-mode. For example, MR Name Size Mode -- ---- ---- ---- * *helm apropos*...
11
votes
2answers
1k views

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-...
6
votes
1answer
302 views

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" ("...
4
votes
1answer
156 views

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 ...
16
votes
3answers
984 views

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 ...