直接模式单窗口?(emacs的)

hat*_*rix 8 emacs elisp file-management dired

有没有办法让dired在一个窗口中运行,这样当我遍历目录时,我没有n个中间目录的dired缓冲区?但是 - 如果我在一个完全独立的目录中启动另一个dired缓冲区(来自迷你缓冲区,而不是在已打开的dired实例中的子目录上按[enter])我想保留两个单独的dired缓冲区......我想我我使用ido-dired,因为我有ido-mode但我不知道解决方案会有所不同?非常感谢!

off*_*by1 19

dired-buffer通过在子目录上点击a(dired-find-alternate-file)来减少混乱,而不是RET; 回收当前的dired窗口.


Ily*_*rov 11

http://www.emacswiki.org/emacs/dired-single.el

;;; dired-single.el --- Reuse the current dired buffer to visit another directory...

;;; Commentary:
;;
;;  This package provides a way to reuse the current dired buffer to visit
;;  another directory (rather than creating a new buffer for the new directory).
;;  Optionally, it allows the user to specify a name that all such buffers will
;;  have, regardless of the directory they point to...
Run Code Online (Sandbox Code Playgroud)