当我在迷你缓冲区中按 Tab 键完成并且 Emacs 在新缓冲区中显示完成列表时,如何在不使用鼠标的情况下切换到该缓冲区?
I tried C-x o
,但这只是切换到第一个缓冲区,我从中进入了迷你缓冲区。
我也尝试过C-x b
,但这给了我command attempted to use minibuffer while in minibuffer
.
最后我尝试了C-x <C-right>
,这给了我cannot switch buffers in minibuffer window
.
编辑:我在示例中谈到了迷你缓冲区完成,但是能够从常规缓冲区内访问完成列表(使用键盘)对我来说也很重要,并且不起作用。这M-v
建议使用快捷方式,但它似乎只能在通过访问的迷你缓冲区内工作M-x
,在我尝试过的所有其他缓冲区中,M-v
一定会scroll down command
并且不切换到完成列表。我什至似乎不在其他迷你缓冲区中工作。例如,它在 shell 命令 minibuffer 调用时不起作用M-!
either.
You can use M-v (documented here) which switches to the completion buffer and puts the cursor on the first completion:
在迷你缓冲区中输入 M-v,选择显示
完成列表(切换到完成)。这为使用铺平了道路
下面的命令。<PageUp>
or <prior>
做同样的事情。你也可以
以其他方式选择窗口...
编辑:看起来根据您对原始问题的编辑,您所要求的是一种更全局地切换到完成缓冲区的方法。有一个功能switch-to-completions
选择完成列表 - 您可以考虑将该函数绑定到您选择的键,例如:
(define-key global-map (kbd "C-x t") 'switch-to-completions)
For example, such a binding allows me to switch to completions from "Shell command: " invoked by M-!, and places the cursor on the first possible completion.
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)