[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to change buffer like in visual studio, ultraedit etc (like Alt-
Re: how to change buffer like in visual studio, ultraedit etc (like Alt-Tab in windows but for buffers)?
Mon, 7 May 2007 01:03:00 +0300
On 5 May 2007 23:53:56 -0700
mopi <address@hidden> wrote:
> I have tried some of the buffer switchers out there and while some
> have neat stuff like regexp switching I just want it to work like in
> visual studio or ultraedit.
> I.e. keeping Ctrl pressed while pressing Tab repeatedly cycles between
> the open buffers (preferably in order of last usage). C-S-tab cycles
> the reverse order. Pressing C-tab only one time switches to the last
> viewed buffer.
Have a look at tabbar.el I got it from
Not completely what you want since it doesn't go by usage order though.
I set it up with:
;; enable the tabbar
;; show only non-scratch buffers
(find (aref (buffer-name buffer) 0) " *")) (buffer-list))))
(global-set-key [(control f10)] 'tabbar-local-mode)
(global-set-key [(C-S-iso-lefttab)] 'tabbar-backward-tab)
(global-set-key [(C-tab)] 'tabbar-forward-tab)
(global-set-key [(C-M-S-iso-lefttab)] 'tabbar-backward-group)
(global-set-key [(C-M-tab)] 'tabbar-forward-group)
> I have tried swbuff-y but pressing C-tab only once just brings up the
> buffer-switcher and don't switch to last viewed buffer. Also, when I
> cycle to a another buffer name in the list I need to press RET to
> actually switch to it. The preferred way would be to switch to the
> currently highlighted buffer when I release the Ctrl key. Like Alt-Tab
> works in windows.
> Thanks in advance.
> help-gnu-emacs mailing list