summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.emacs.d/init.el16
1 files changed, 15 insertions, 1 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index f8c79e6..3d88f9e 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -719,7 +719,21 @@
;; My packages
(use-package yeetube
- :straight (yeetube :local-repo "~/Dev/emacs-lisp/yeetube"))
+ :init (define-prefix-command 'thanos/yeetube-map)
+ :straight (yeetube :local-repo "~/Dev/emacs-lisp/yeetube")
+ :config
+ (setf yeetube-results-limit 20
+ yeetube-mpv-disable-video t)
+ :bind (("C-c y" . 'thanos/yeetube-map)
+ :map thanos/yeetube-map
+ ("s" . 'yeetube-search)
+ ("b" . 'yeetube-play-saved-video)
+ ("d" . 'yeetube-download-videos)
+ ("C-d" . 'yeetube-download-vimeo-videos)
+ ("p" . 'yeetube-mpv-toggle-pause)
+ ("v" . 'yeetube-mpv-toggle-video)
+ ("C-p" . 'yeetube-mpv-toggle-video)
+ ("k" . 'yeetube-remove-saved-video)))
(use-package gnosis
:straight (gnosis :local-repo "~/Dev/emacs-lisp/gnosis")