有没有办法自动关闭Emacs中的文件名完整缓冲区? [英] Is there any way to automatically close filename completetion buffers in Emacs?
问题描述
虽然不直接解决您的你考虑过 ido-mode
的问题作为打开文件的机制?
ido-模式将绑定 Cx Cf
到 ido-find-file
这允许您交互式打开文件(选择在minibuffer Cs
和各种其他漂亮功能之间的名称冲突之间)我发现它是一个更容易的查找文件的方法,它将摆脱 *完成*
缓冲区。
For example, when you open a file via C-x-C-f, you can TAB complete file names, and if there are more than one possible completions, it will pop open a completion buffer with a list of possible completions. The problem is, after you've opened the file, the window the buffer was in switches back to normal, but it doesn't close. Is there any way I can make those buffers close automatically after the file has been opened?
Although it does not directly solve your problem have you considered ido-mode
as a mechanism for opening files?
ido-mode will bind C-x C-f
to ido-find-file
this allows you to interactively opening files (selecting between name collisions from within the minibuffer C-s
and various other nifty features) I find it a much easier method of finding files and it will get rid of the *Completions*
buffer altogether.
这篇关于有没有办法自动关闭Emacs中的文件名完整缓冲区?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!