I am currently using the diredp-toggle-find-file-reuse-dir
feature of Dired+ so that selecting a directory in a dired buffer opens the directory in the current buffer as described here. However, it seems that I only get this "re-use" functionality with <S-down-mouse-2>
. Pressing <down-mouse-1>
still causes directories to be opened in their own buffer.
I tried doing the (seemingly) obvious thing of setting the key binding directly
(define-key dired-mode-map [down-mouse-1] 'diredp-mouse-find-file-reuse-dir)
but I got strange behavior that basically looked as though I had clicked twice.
What do I need to do so that a single mouse click reuses the current dired buffer when opening a directory?