Add instruction how to use ranger by default

This commit is contained in:
Daniel Nicolai 2020-09-23 21:17:47 +02:00 committed by Maximilian Wolff
parent 496a86bd3e
commit 5812d52e6d
2 changed files with 8 additions and 1 deletions

View File

@ -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).

View File

@ -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