For the #emacs nerds out there, I don't know if your workflow is anything like mine, but I typically have half a dozen buffers I am switching between, but when I type "C-x b" I blank out on the name of the buffer, meanwhile, opening the buffer list offers a wall of text with a lot of visual clutter.
Enter: "shortcuts-mode". This is a minor mode that adds a sticky top bar that gives you 1-keystroke access to the last 10 buffers you used. I can't live without it. Now on MELPA!
@tetron I realized the other day that I have the uncanny ability, Hensel & Gretel like, to use the previous-buffer/next-buffer command bound to C-s-<right> and <left>, to get back to where I want.
I have no clue why, but the trail works :)
@tetron i'd try to teach consult-buffer to use vertico-quick instead but i'm just a minad / consult / vertico / orderless fan
@mekeor
I'm not familiar with those extensions so I'm curious what they do. I looked around at a bunch of plugins before writing shortcuts-mode but this was almost 10 years ago, and only recently decided to polish it and put it on MELPA
@tetron tab-line-mode has a very similar idea. I also like to use C-x <left> and <right> a lot.
@viz
So at the time that I wrote this feature the tab mode didn't do what I wanted. It didn't have keyboard nav and it didn't reorder based on most recently used. Maybe that's changed? The nice thing about shortcuts-mode is that if you need to go 5 buffers back in your history, you are not hitting C-x left five times, you just hit C-5 once.
@tetron perhaps. I don't use tab-line-mode so idk if it sorts the tabs based on recent use.
In my case, I have repeat-mode setup so it is more C-x <left> <left> <left> <left> <left> on my end. I also like how I don't have to think about anything, just need to look out for the right buffer.
@tetron In 1989, a friend of mine wrote a "previous buffer" function. It works differently than the current previous-buffer function; it's more like nth-previous-buffer. I asked him if I could publish it here, not knowing about the current previous-buffer. He thinks a better thing would be for him to go talk to other people and get it added for real. The way it works is you bind it to some key and then do M-<n> to get nth; defaults to just previous. Let me know if interested in a preview.