Suppose I have a file opened called "analysis-evaluation.tex" and I'd like to create a new buffer called "eval". When using Ido, I would press C-j to create a new buffer rather than switching to an existing buffer; does such a functionality exist with ivy-switch-buffer too?

  • 2
    You can also try setting ivy-use-selectable-prompt to t: The prompt line can be selected by calling ‘ivy-previous-line’ when the first regular candidate is selected.
    – awllower
    Commented Jul 12, 2018 at 6:03
  • Thanks for the info, this was what I needed, because Doom Emacs uses that by default.
    – Isti115
    Commented Apr 29, 2020 at 23:10

1 Answer 1


You can use C-M-j which calls ivy-immediate-done to force the output to be exactly what you typed instead of having it complete to the the nearest match

This and more information can be found in the ivy manual ivy-manual

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.