Dired - 在另一个Emacs窗口中打开文件 [英] Dired - open files in another Emacs window

查看:248
本文介绍了Dired - 在另一个Emacs窗口中打开文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在屏幕上有两个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屋!

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