diff options
-rw-r--r-- | mms-misc.org | 15 |
1 files 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 () |