emacs: control tab buffer cycling, or stack buffer cycling, similar to alt-tab between windows -
emacs: control tab buffer cycling, or stack buffer cycling, similar to alt-tab between windows -
i have consulted resource: http://www.emacswiki.org/cgi-bin/wiki/controltabbuffercycling, , tried buffer-stack.el, useful, find user experience awkward without beingness able visualize other buffers farther downwards stack. outdated (2002), wonder if there improved version. other links on page broken or old well.
i seeking ctrl +tab stack-based buffer cycling, similar way alt + tab works windows. ideally include indicator current location in buffer list. don't think desired feature specific, since many ide's have feature.
i imagine tool similar how buffer cycling works in eclipse. pick below:
i have explored other options, nil seems mimic functionality has been implemented across other ide's eclipse.
i aware of ido-mode, although not suit needs rapid stack-based switching.
i aware of other non-stack solutions 1 below:
(global-set-key [c-tab] 'next-buffer) (global-set-key [c-s-iso-lefttab] 'previous-buffer);linux (global-set-key [c-s-tab] 'previous-buffer);windows/linux but prefer stack-based switch.
any suggestions? feature available somewhere, or in development? index indicator, shown in eclipse above. awesome - imagine pop-up or in mini-buffer.
try out snippet:
class="lang-lisp prettyprint-override">(defun ctrltab () "list buffers , give focus" (interactive) (if (string= "*buffer list*" (buffer-name)) ;; go next line. go first line if end reached. (progn (revert-buffer) (if (>= (line-number-at-pos) (count-lines (point-min) (point-max))) (goto-char (point-min)) (forward-line))) (list-buffers) (switch-to-buffer "*buffer list*") (delete-other-windows) (forward-line))) (global-set-key [c-tab] 'ctrltab) it's inferior ido-switch-buffer, job anyway.
emacs buffer
Comments
Post a Comment