Dired - 在另一个 Emacs 窗口中打开文件 [英] Dired - open files in another Emacs window
问题描述
我想在屏幕上有两个 Emacs 窗口:一个用于 Dired,一个用于代码.但是,当我单击 Dired 缓冲区中的文件时,该文件会在同一窗口中打开,而不是 Dired 缓冲区.我可以改变这种行为吗?
你为什么用鼠标点击东西?我以为你在使用 Emacs?
将点移到您感兴趣的行,然后按 o 在另一个窗口中打开它或按 Co 打开文件但留在 Dired 缓冲区.>
如果你必须用鼠标来做,用鼠标中键来做同样的事情.
I want to have two Emacs windows on the screen: one for Dired and one for code. But when I click on a file in the Dired buffer the file opens in the the same window, in place of the Dired buffer. Can I change this behaviour?
Why are you clicking on things with a mouse? I thought you're using Emacs?
Move point to the line you're interested in and press o to open it in another window or C-o to open the file but stay on Dired buffer.
If you must do it with the mouse, use middle-click to do the same thing.
这篇关于Dired - 在另一个 Emacs 窗口中打开文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!