From 5ec37de1c3a33038c485cde487273f613329ce64 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Thu, 25 Jan 2024 07:33:00 +0200 Subject: emacs:(yeetube) Update configuration & add bindings --- .emacs.d/init.el | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) 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") -- cgit v1.2.3