Skip to main content
I forgot to formulate the answer as an answer ;-)
Source Link
reikred
  • 101
  • 2

With M-x ibuffer one can filter on pathname components. The commands I use are

/f   filter using part of full pathname
//   filter off
/g   create named filter group and move group to top of ibuffer
C-k RET kill filter group (the one  under the cursor)
C-y RET yank filter group

The above recipe does not completely answer the question, since it is not possible (AFAIK) to place the files/buffers of the latest filter group at the top of the ibuffer after killing the group.

With M-x ibuffer one can filter on pathname components. The commands I use are

/f   filter using part of full pathname
//   filter off
/g   create named filter group and move group to top of ibuffer
C-k RET kill filter group (the one  under the cursor)
C-y RET yank filter group

With M-x ibuffer one can filter on pathname components. The commands I use are

/f   filter using part of full pathname
//   filter off
/g   create named filter group and move group to top of ibuffer
C-k RET kill filter group (the one  under the cursor)
C-y RET yank filter group

The above recipe does not completely answer the question, since it is not possible (AFAIK) to place the files/buffers of the latest filter group at the top of the ibuffer after killing the group.

deleted 178 characters in body
Source Link
Drew
  • 79.1k
  • 10
  • 123
  • 257

With M-x ibuffer one can filter on pathname components. The commands I use are

/f   filter using part of full pathname
//   filter off
/g   create named filter group and move group to top of ibuffer
C-k RET kill filter group (the one  under the cursor)
C-y RET yank filter group

The only thing I miss is the optional ability to keep the files/buffers of the latest filter group at the top of the ibuffer after I kill the group. That would be a nice feature.

With M-x ibuffer one can filter on pathname components. The commands I use are

/f   filter using part of full pathname
//   filter off
/g   create named filter group and move group to top of ibuffer
C-k RET kill filter group (the one  under the cursor)
C-y RET yank filter group

The only thing I miss is the optional ability to keep the files/buffers of the latest filter group at the top of the ibuffer after I kill the group. That would be a nice feature.

With M-x ibuffer one can filter on pathname components. The commands I use are

/f   filter using part of full pathname
//   filter off
/g   create named filter group and move group to top of ibuffer
C-k RET kill filter group (the one  under the cursor)
C-y RET yank filter group
Source Link
reikred
  • 101
  • 2

With M-x ibuffer one can filter on pathname components. The commands I use are

/f   filter using part of full pathname
//   filter off
/g   create named filter group and move group to top of ibuffer
C-k RET kill filter group (the one  under the cursor)
C-y RET yank filter group

The only thing I miss is the optional ability to keep the files/buffers of the latest filter group at the top of the ibuffer after I kill the group. That would be a nice feature.