I want to have it enabled every time I open emacs and not type M-x ido-mode
each time I open it.
-
1Please have a look at the Emacswiki node for "Interactively Do Things". The first bullet tells you how to activate it in your init file. (I found this with a google search for "emacs ido-mode".)– Dan ♦Commented May 5, 2016 at 19:52
-
@Dan Thanks it worked now, I don't know what I did before that didn't work. Do you think I should delete this question or answer it?– n00bCommented May 5, 2016 at 20:04
-
1It's possible you hadn't restarted Emacs after adding it to your init file.– Dan ♦Commented May 5, 2016 at 20:05
-
I'm tired that's probably it ;) @Dan– n00bCommented May 5, 2016 at 20:08
-
1@Dan Actually I found the problem, ido-mode doesn't work while using ibuffer and I was always testing it while on ibuffer of course (facepalm)– n00bCommented May 5, 2016 at 20:20
1 Answer
I've decided to answer my question as some other noobs like me could have the same problem. Just follow the following steps(everything that I'm going to say is on these links https://www.emacswiki.org/emacs/InteractivelyDoThings or https://www.emacswiki.org/emacs/InitFile):
- Open your init file (for GnuEmacs it's ~/.emacs or ~/.emacs.d/init.el)
In that file add this code and save the file:
(require 'ido) (ido-mode t)
Restart emacs, or to avoid restarting for current session, select the above two lines, and use
M-x eval-region
Then do
M-x customize-group RET ido RET
and configure ido-mode
Also don't forget that ido-mode doesn't work while on ibuffer like I did. Thanks to @dan
-
1For the record, if you use
(ido-everywhere)
, then ido will work in ibuffer too.– npostavsCommented Jun 14, 2019 at 1:40