In the directory I have mongodb.js, now I want to create a db.js file but if I type the name and press enter counsel-find-file use regex to open mongodb.js.

How can i create a db.js with counsel-find-file in the same directory of mongodb.js?

1 Answer 1


Using C-M-j when you're at prompt line. Binds to ivy-immediate-done

As manual states it goes with current input instead the current candidate.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.