summaryrefslogtreecommitdiff
path: root/.emacs.d
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-01-25 07:33:00 +0200
committerThanos Apollo <[email protected]>2024-01-25 07:33:00 +0200
commit5ec37de1c3a33038c485cde487273f613329ce64 (patch)
tree2d059fd01ba0a3aaf7b6b1c1a2dbafc5eea9515d /.emacs.d
parent6b30793a2ad6ea67b2e6339f620c0270acb5cb04 (diff)
emacs:(yeetube) Update configuration & add bindings
Diffstat (limited to '.emacs.d')
-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")