diff options
author | Thanos Apollo <[email protected]> | 2024-01-28 22:09:36 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-01-28 22:09:43 +0200 |
commit | 8dbd6d562e3f9d8b62beae5ec987105ba9d857fe (patch) | |
tree | 1438eda801eee0f65d5461f510d94828ae4af0b6 | |
parent | 6768bae7c54554f38a6ddb7121fb6cc10709d881 (diff) |
emacs: Update emms map
-rw-r--r-- | .emacs.d/init.el | 12 |
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 |