[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:
parent
5e037c8890
commit
d36db7920f
2 changed files with 5 additions and 4 deletions
|
@ -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 |
|
||||
|
|
|
@ -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))
|
||||
|
||||
|
|
Reference in a new issue