![]() ![]() Wrt the stack-order “problem” mentioned above and in the bullets below: No problem: You don’t change the stack order just by cycling buffer names in the minibuffer you change the order only when you visit a buffer. Use ‘switch-to-buffer’ or ‘icicle-buffer’ to alternate between two buffers – trivial. Icicles – Cycle between all buffers (circular list) or any subset.Saves me from the Ctrl-key sickness also… □ – MaDa I have this (or something similar) bound to F1 and it is really handy. (switch-to-buffer (other-buffer (current-buffer) 1))) (global-set-key (kbd "M-o") 'mode-line-other-buffer) The command ‘mode-line-other-buffer’ will achieve this.Several approaches provide something similar for Emacs buffers: This comes much closer to the ideal of stacking in order of use because it distinguishes between “using” and “switching” – unlike the simple model described above. On this platform, ALT-TAB lets you switch through windows (” Frames” in Emacs lingo) to pick the one you want, then pulls that window to the top. If you want to go back, you have to switch through them again.Ī solution without this problem is demonstrated by Microsoft Windows. As you move through the stack, each buffer is visited and gets put on top, so by the time you get to the target buffer there are a bunch of buffers between you and the first. You hit a problem, though, when you want to switch between two buffers which are further apart in the stack. Then the most-recently-used buffer is always just below the current one. One solution is to sort buffers in the order they were visited. That is, you would like the buffers you switch between most to be near to each other. With the “switching” or “buffer flipping” technique, the challenge is to do as little buffer-switching as possible. Switching Between Two Recently Used Buffers QuickBufferCycle - Quickly switch to the previous buffer or the Nth previous one by pressing the same key repeatedly. ![]() With ‘C-z’ contents of selected candidate are displayed.
0 Comments
Leave a Reply. |