summaryrefslogtreecommitdiff
path: root/.emacs.d/init.el
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/init.el')
-rw-r--r--.emacs.d/init.el12
1 files changed, 10 insertions, 2 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index e2d5078..440a03e 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -374,6 +374,7 @@
(use-package emms
:defer t
+ :init (define-prefix-command 'thanos/emms)
:config
(with-eval-after-load 'emms
(emms-all)
@@ -382,8 +383,15 @@
emms-show-format "♪ %s")
(emms-default-players))
(setf emms-player-mpv-parameters '("--quiet" "--really-quiet" "--no-audio-display" "--no-video"))
- :bind (:map emms-playlist-mode-map
- (("A" . 'emms-add-directory-tree))))
+ :bind (("C-c z" . thanos/emms)
+ :map thanos/emms
+ ("n" . 'emms-next)
+ ("p" . 'emms-previous)
+ ("SPC" . 'emms-pause)
+ ("e" . 'emms)
+ ("C-e" . 'emms-smart-browse)
+ :map emms-playlist-mode-map
+ (("A" . 'emms-add-directory-tree))))
(use-package rainbow-delimiters
:defer t