From 8dbd6d562e3f9d8b62beae5ec987105ba9d857fe Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Sun, 28 Jan 2024 22:09:36 +0200 Subject: emacs: Update emms map --- .emacs.d/init.el | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to '.emacs.d') 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 -- cgit v1.2.3