summaryrefslogtreecommitdiff
path: root/.config/emacs/init.el
diff options
context:
space:
mode:
Diffstat (limited to '.config/emacs/init.el')
-rw-r--r--.config/emacs/init.el24
1 files changed, 24 insertions, 0 deletions
diff --git a/.config/emacs/init.el b/.config/emacs/init.el
index f50038e..551aa24 100644
--- a/.config/emacs/init.el
+++ b/.config/emacs/init.el
@@ -1112,6 +1112,30 @@ By default, returns all jabber related buffers format."
:config
(when is-zeus (add-to-list 'yas-snippet-dirs "~/Dev/guile/guix/etc/snippets/yas")))
+(use-package emms
+ :defer t
+ :init (define-prefix-command 'thanos/emms)
+ :config
+ (with-eval-after-load 'emms
+ (emms-all)
+ (setq emms-source-file-default-directory "/hdd/Music"
+ emms-info-asynchronously t
+ emms-show-format "♪ %s")
+ (emms-default-players))
+ (setf emms-player-mpv-parameters '("--quiet" "--really-quiet" "--no-audio-display" "--no-video"))
+ :bind (("C-z" . thanos/emms)
+ :map thanos/emms
+ ("n" . 'emms-next)
+ ("p" . 'emms-previous)
+ ("SPC" . 'emms-pause)
+ ("e" . 'emms)
+ ("s" . 'emms-browser-search-by-names)
+ ("C-e" . 'emms-smart-browse)
+ :map emms-playlist-mode-map
+ (("A" . 'emms-add-directory-tree))
+ :map emms-browser-search-mode-map
+ (("s" . 'emms-browser-search-by-names))))
+
(use-package debbugs
:ensure nil)