From a7825b2adfa1b7746294ae3981814d763e7ad896 Mon Sep 17 00:00:00 2001 From: mms Date: Wed, 21 Feb 2024 16:24:22 +0100 Subject: feat: add yeetube keys --- mms-misc.org | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/mms-misc.org b/mms-misc.org index b94cfd0..2ec07d1 100644 --- a/mms-misc.org +++ b/mms-misc.org @@ -110,10 +110,21 @@ Of course I want to have it inside Emacs! First, let's be able to run Youtube inside emacs #+begin_src emacs-lisp - (use-package yeetube) + (use-package yeetube + :general + (:states 'normal + :keymaps 'yeetube-mode-map + "RET" 'yeetube-play + "d" 'yeetube-download-video + "b" 'yeetube-play-saved-video + "B" 'yeetube-save-video + "x" 'yeetube-remove-saved-video + "/" 'yeetube-search + "0" 'yeetube-toggle-video + )) #+end_src -Then, let's pass the link to the correct handler. +Then, let's create linkhandler to pass the link to the correct handler. #+begin_src emacs-lisp (defun mms-open-link-under-point () -- cgit v1.2.3