emacs.d icon indicating copy to clipboard operation
emacs.d copied to clipboard

Enter on directory opens a new buffer when `,xf`

Open Stumble opened this issue 6 years ago • 8 comments

previously, with ido, when I press enter on a matched directory in minibuffer, minibuffer cd into that directory. now it opens a new buffer in dired. How can I have the same behavior as before?

Stumble avatar Jun 29 '18 00:06 Stumble

Now I use ivy instead of ido. So UI may be different.

But for your question, looks the behavior is same. You press enter if current path in filter input is directory (or maybe you have not updated from latest code?).

redguardtoo avatar Jun 29 '18 01:06 redguardtoo

Merged with redguardtoo/emacs.d/master, , xf is counsel-find-file, package-list-packages shows that all packages are update-to-date.

when I press on, it shows this selection_001

Stumble avatar Jun 29 '18 02:06 Stumble

It's dired, isn't it?

redguardtoo avatar Jun 29 '18 05:06 redguardtoo

yeah, it is. But how could I change it back to not use dired to open directory?

Stumble avatar Jul 07 '18 17:07 Stumble

There is nothing I can do, unless you go back to ido-find-file. But you need (ivy-mode -1) at first.

redguardtoo avatar Jul 09 '18 03:07 redguardtoo

But how could I change it back to not use dired to open directory?

@Stumble press / instead of ENTER

whatacold avatar Jul 23 '18 16:07 whatacold

@whatacold Thanks for suggestion, It works! I wonder is there a way to change this behavior in ivy mode?

Stumble avatar Jul 23 '18 18:07 Stumble

This should work: https://github.com/abo-abo/swiper/issues/532 , also check Do not open dired for directories when using counsel-find-file - Emacs Stack Exchange - emacs.stackexchange.com with some explanations.

whatacold avatar Jul 23 '18 22:07 whatacold