From 3f7a8703edbdc0be14e5dca52dd736d9711c07b7 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Tue, 5 Oct 2021 14:23:47 -0500 Subject: Replace ytel with ytdious Better interface --- init.el | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'init.el') diff --git a/init.el b/init.el index fb6a8c9..4ad55a9 100644 --- a/init.el +++ b/init.el @@ -2470,14 +2470,15 @@ If used with a numeric prefix argument N, N backticks will be inserted." (setup (:straight xr)) -(setup (:straight-when ytel +(setup (:straight-when ytdious (executable-find "mpv")) - (:also-load acdw-ytel) - ;; This might need to be changed depending on whether the instance goes down. - (:option ytel-invidious-api-url "https://invidious.snopyta.org") + (:also-load acdw-ytel) ; so named because I used ytel first + (:option ytdious-invidious-api-url "https://invidious.snopyta.org") (:hook #'hl-line-mode) - (:bind "v" #'acdw/ytel-watch - "w" #'acdw/ytel-copy-link)) + (:global "C-c y" #'ytdious) + (:bind "v" #'acdw/ytdious-watch + "w" #'acdw/ytdious-copy-link + "q" #'acdw/ytdious-quit)) (setup (:straight zzz-to-char) -- cgit 1.4.1-21-gabe81