diff --git a/CHANGELOG.develop b/CHANGELOG.develop index c139ba16d..c24215625 100644 --- a/CHANGELOG.develop +++ b/CHANGELOG.develop @@ -3009,6 +3009,7 @@ Other: - Added ~-~ to enter (thanks to Rich Alesi) - Fixed conflict with =golden-ratio= (thanks to Thomas de BeauchĂȘne) - Load =helm= before =ranger= (thanks to duianto) +- Add instruction to use ranger by default (thanks to Daniel Nicolai) **** Rcirc - New variable =rcirc-enable-late-fix= to enable or disable the included =rcirc-late-fix= package (disabled by default). diff --git a/layers/+tools/ranger/README.org b/layers/+tools/ranger/README.org index 41aa0fcef..a7c6d47a0 100644 --- a/layers/+tools/ranger/README.org +++ b/layers/+tools/ranger/README.org @@ -18,11 +18,17 @@ To use this configuration layer, add it to your =~/.spacemacs=. You will need to add =ranger= to the existing =dotspacemacs-configuration-layers= list in this file. -To default with preview enabled when entering ranger: +To use ranger/deer by default set ~ranger-override-dired~ to ~ranger/deer~ like +shown in the example below (setting this via customize as explained by the +original [[https://github.com/ralesi/ranger.el#installation][ranger installation instructions]] will not work). To default with +preview enabled when entering ranger set ~ranger-show-preview~ to ~t~. The following +example code shows how you can set both variables at once via the +~dotspacemacs-configuration-layers~ of your dotfiles as follows: #+BEGIN_SRC emacs-lisp (setq-default dotspacemacs-configuration-layers '(ranger :variables + ranger-override-dired 'ranger ranger-show-preview t)) #+END_SRC