Use "," as the leader key in emms-browser-mode
This commit is contained in:
parent
3503618af8
commit
900556f98a
@ -79,6 +79,9 @@ This function defines a prefix group for `which-key` so that it doesn't display
|
|||||||
(defun jdormit/define-prefix (binding name)
|
(defun jdormit/define-prefix (binding name)
|
||||||
(which-key-add-key-based-replacements
|
(which-key-add-key-based-replacements
|
||||||
(concat leader " " binding)
|
(concat leader " " binding)
|
||||||
|
name)
|
||||||
|
(which-key-add-key-based-replacements
|
||||||
|
(concat "," " " binding)
|
||||||
name))
|
name))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
@ -2376,6 +2379,7 @@ The Emacs Multi-Media System
|
|||||||
(concat (get-dropbox-directory) "/music"))
|
(concat (get-dropbox-directory) "/music"))
|
||||||
(jdormit/define-prefix "ae" "emms")
|
(jdormit/define-prefix "ae" "emms")
|
||||||
(add-to-list 'evil-emacs-state-modes 'emms-browser-mode)
|
(add-to-list 'evil-emacs-state-modes 'emms-browser-mode)
|
||||||
|
(general-def emms-browser-mode-map "," leader-map)
|
||||||
(leader-def-key "aeb" 'emms-smart-browse)
|
(leader-def-key "aeb" 'emms-smart-browse)
|
||||||
(leader-def-key "aes" 'emms-start)
|
(leader-def-key "aes" 'emms-start)
|
||||||
(leader-def-key "aeS" 'emms-stop)
|
(leader-def-key "aeS" 'emms-stop)
|
||||||
|
Loading…
Reference in New Issue
Block a user