summaryrefslogtreecommitdiff
path: root/emacs.org
diff options
context:
space:
mode:
Diffstat (limited to 'emacs.org')
-rwxr-xr-xemacs.org15
1 files changed, 15 insertions, 0 deletions
diff --git a/emacs.org b/emacs.org
index aa2b30d..b1f0b48 100755
--- a/emacs.org
+++ b/emacs.org
@@ -1182,6 +1182,21 @@ Set aliases for emacs functions and ~PATH~
(define-key 'thanos/applications-map (kbd "c") 'gptel-send)
(setq gptel-api-key (password-store-get "chatgpt/api"))
#+end_src
+* YeeTube
+#+begin_src emacs-lisp
+ (load-file "~/Developer/yeetube.el/yeetube.el")
+
+ (setq yeetube-results-limit 15
+ yeetube-display-info-keys t)
+
+ (define-prefix-command 'thanos/yeetube)
+ (global-set-key (kbd "C-c y") 'thanos/yeetube)
+ (define-key thanos/yeetube (kbd "s") 'yeetube-search)
+ (define-key thanos/yeetube (kbd "d") 'yeetube-download-videos)
+ (define-key thanos/yeetube (kbd "p") 'yeetube-toggle-pause-mpv)
+
+ (define-key yeetube-mode-map (kbd "c") 'yeetube-switch-mpv)
+#+end_src
* StumpWM
#+begin_src emacs-lisp
(setq stumpwm-shell-program "~/.stumpwm.d/modules/util/stumpish/stumpish")