summaryrefslogtreecommitdiff
path: root/emacs.org
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-07-16 16:31:24 +0300
committerThanos Apollo <[email protected]>2023-07-16 16:31:24 +0300
commit1b98ea8265ccfd99e2b8db4fb4494d80095384a8 (patch)
tree20e94f926351c8235d1af1d4afa8706187dcd1ca /emacs.org
parent73100fea35f613fe359988691f099e42d78af67b (diff)
Add yeetube configuration
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")