0

I'm new to doom emacs and I like it but I'm still new, so I saw this package called ranger that is a minor mode inside emacs and I want to make it run by default whenever I open dired. The documentation says set this variable ranger-override-dired-mode t, but I don't know where to start.

I tried to add this in ~/.doom.d/config.el but it crashes when launch emacs can you please guide me !!

3
  • What error message do you get? It is unlikely that setting a variable can do that, so I suspect something else is wrong. Does it work when you don't set the variable?
    – NickD
    Jul 17 '20 at 13:24
  • when i add this line "(ranger-override-dired-mode t)" it crashes
    – ezio
    Jul 17 '20 at 14:34
  • @NickD but when i add "(setq ranger-override-dired-mode t)" it doesnt crash but when i open dired i dont get the features of ranger :(
    – ezio
    Jul 17 '20 at 14:36
2

Doom's :emacs dired module has a +ranger flag. Enable it and run doom sync on the command line. i.e. uncomment :emacs (dired +ranger) in ~/.doom.d/init.el.

Then ranger will be the default UI for dired.


See this entry in the manual for details on what Doom modules (and flags) are.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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