[ranger] Make layer not use two different application level bindings

Ranger did register two application layer level bindings to call ranger
or deer. This has now been moved to its own application level binding
spc a r.
This commit is contained in:
Maximilian Wolff 2020-04-18 20:57:17 +02:00
parent 5e037c8890
commit d36db7920f
No known key found for this signature in database
GPG key ID: 2DD07025BFDBD89A
2 changed files with 5 additions and 4 deletions

View file

@ -125,8 +125,8 @@ To set the max files size (in MB), set the following parameter:
| Key binding | Description |
|-----------------+------------------------------------------------------|
| ~SPC a r~ | launch ranger |
| ~SPC a d~ | deer (minimal ranger window in current directory) |
| ~SPC a r r~ | launch ranger |
| ~SPC a r d~ | deer (minimal ranger window in current directory) |
| ~C-p~ | (ranger) toggle ranger in dired buffer |
| ~j~ | (ranger) navigate down |
| ~k~ | (ranger) navigate up |

View file

@ -18,9 +18,10 @@
))
(defun ranger//set-leader-keys ()
(spacemacs/declare-prefix "ar" "ranger/deer")
(spacemacs/set-leader-keys
"ar" 'ranger
"ad" 'deer
"arr" 'ranger
"ard" 'deer
"jD" 'deer-jump-other-window
"jd" 'deer))