emacs:控制选项卡缓冲区循环或堆栈缓冲区循环,类似于窗口之间的alt选项卡 [英] emacs: control tab buffer cycling, or stack buffer cycling, similar to alt-tab between windows

查看:189
本文介绍了emacs:控制选项卡缓冲区循环或堆栈缓冲区循环,类似于窗口之间的alt选项卡的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已咨询过此资源:

您必须按需创建屏幕(标签),您可以调用 Mx elscreen-select-and- goto 从minibuffer的列表中选择一个屏幕。



幸运的是,它已经与 helm helm-elscreen 。这给了一个好看的方便的选择列表:




  • 模糊匹配

  • 可滚动列表

  • 选择操作(按 TAB ,然后选择更改屏幕/删除/仅限)。

但是,您仍然必须手动创建一个屏幕(但我喜欢它,因为我可以组织一些工作区域 - 可以隔离每个屏幕缓冲区每个缓冲区的选项卡将是方式太多+ emacs创建了许多内部缓冲区,以便他们可以在路上)。



helm: https://github.com/emacs-helm/helm/wiki



ps: helm-buffers-list 靠近要切换缓冲区的界面,没有标签...




I have consulted this resource: http://www.emacswiki.org/cgi-bin/wiki/ControlTABbufferCycling, and tried buffer-stack.el, which is useful, but I find the user experience slightly awkward without being able to visualize other buffers further down the stack. It is also outdated (2002), so I wonder if there is an improved version. Most other links on that page are broken or very old as well.

I am seeking a ctrl +tab stack-based buffer cycling, similar to the way alt + tab works with windows. Ideally it would include an indicator for my current location in the buffer list. I don't think my desired feature is too specific, since many IDE's already have this feature.

I would imagine a tool that is similar to how buffer cycling works in Eclipse. Pick below:

I have explored other options, but nothing seems to mimic the functionality that has already been implemented across other IDE's like Eclipse.

I am aware of ido-mode, although it does not suit my needs for rapid stack-based switching.

I am also aware of other non-stack solutions like the one 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 I prefer a stack-based switch.

Any suggestions? Is this feature available somewhere, or even in development? Especially with an index indicator, as shown in Eclipse above. That would be awesome - I imagine it would be as a pop-up or in the mini-buffer.

解决方案

elscreen does a little bit what you seek: http://wikemacs.org/index.php/Elscreen
You have to create screens (tabs) on demand and you can call M-x elscreen-select-and-goto to select a screen from a list in the minibuffer.

Fortunately it is already coupled with helm: helm-elscreen. That gives a good looking and handy choice list:

  • fuzzy matching
  • scrollable list
  • choose actions (press TAB and choose "Change screen/Delete/Only").

However, you still have to create a screen manually (but I like it because I can organize sort of work areas -it is possible to isolate buffers per screen. A tab per buffer would be way too much + emacs creates many internal buffers so they can get on the way).

helm: https://github.com/emacs-helm/helm/wiki

ps: helm-buffers-list is close to the interface you want for switching buffers, without tabs…

这篇关于emacs:控制选项卡缓冲区循环或堆栈缓冲区循环,类似于窗口之间的alt选项卡的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆