jrosdahl / iflipb Goto Github PK
View Code? Open in Web Editor NEWiflipb.el - interactively flip between recently visited buffers
License: BSD 3-Clause "New" or "Revised" License
iflipb.el - interactively flip between recently visited buffers
License: BSD 3-Clause "New" or "Revised" License
Is there a way to customize how the buffer list appears in the mini buffer? I think more visual differentiation would be a good idea, maybe by customizing separators, colors, word space, etc.
Steps to reproduce:
iflip-next-buffer
to make some buffer the current iflipb bufferM-x ibuffer
After doing so, the name of the current iflipb buffer will be shown using iflipb-current-buffer-face
inside Ibuffer. I've been able to reproduce this on Emacs 28.1, with iflip as the only external package installed.
hi, there!
I'm relatively new to emacs so if you have an tips for how I can debug this kind of thing on my own in the future I'd love to hear your input :)
when I open a file, replacing the currently opened file in my emacs buffer - either with C-x C-f
(spacemacs/helm-find-files
) or with helm-projectile-find-file
, it becomes the last file in my iflipb stack. That is to say, if I am viewing file A, open file B, then execute iflipb-next-buffer
, it takes me to the file before A, and then iflip-previous-buffer
takes me back to A. But B is way back at the end.
thanks so much for your help :):)
Hi!
I often create multiple windows with the intention of using different sets of buffers in each.
So it would be really great if this package could be configured so as to, for each window, start with the buffers most recently displayed in that window, and then show the rest from the global list.
I'm not sure which data to use as the basis for this feature, but there is the quit-restore
window parameter, and alternatively it could just use its own history (based on which buffers I switched from and to with iflipb
in each window).
Where it says:
(not (or (eq last-command 'iflipb-next-buffer)
(eq last-command 'iflipb-previous-buffer))))
I found it useful to change it to this:
[ something that also checks if last-command is kill-buffer ]
This facilitates cleaning up my buffer list, since I often see a buffer I don't need anymore when I cycle the list using iflipb. With my improvement, I can kill it without losing my place in the list.
(Edited: the first version of the above code was incorrect, but please see below)
Hi,
I really love the package.
I have a improvement request as similarly discussed in the Wiki: https://www.emacswiki.org/emacs/iflipb
atomic flip
I want to be able to switch between the two most recently used buffers by pressing C-tab
and then releasing both key.
Then if I hit C-tab
again I get back to the before buffer.
iterative flip
Holding down C
and pressing tab
repeatedly I can switch between all last recently used buffer.
At the moment I have something like this:
(defun iflipb-atomic-flip ()
(interactive)
(iflipb-next-buffer nil)
(iflipb-select-buffer 1))
(bind-key* "C-`" 'iflipb-atomic-flip)
(bind-key* "<C-tab>" 'iflipb-next-buffer)
(bind-key* "<C-iso-lefttab>" 'iflipb-previous-buffer)
Do you see a way to combining them into a general C-tab
?
~ For Frodo
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.