From 48235517f67bd9aa92f2824e991fef62d00b41fa Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Fri, 25 Sep 2020 14:12:26 +0100 Subject: feat(tazjin/emacs): Add function for quick Songwhip lookups Adds a function `songwhip-lookup-url` which looks up the supplied URL on Songwhip and copies the Songwhip link if a result was found. This is bound to `s-s w` for convenience. Change-Id: I3b529a058ee56f992942760910822490e6324259 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2002 Tested-by: BuildkiteCI Reviewed-by: tazjin --- users/tazjin/emacs/config/bindings.el | 3 +++ 1 file changed, 3 insertions(+) (limited to 'users/tazjin/emacs/config/bindings.el') diff --git a/users/tazjin/emacs/config/bindings.el b/users/tazjin/emacs/config/bindings.el index a2f7369348ea..4e1f341e32c2 100644 --- a/users/tazjin/emacs/config/bindings.el +++ b/users/tazjin/emacs/config/bindings.el @@ -41,6 +41,9 @@ ;; Insert TODO comments (global-set-key (kbd "C-c t") 'insert-todo-comment) +;; Make sharing music easier +(global-set-key (kbd "s-s w") #'songwhip-lookup-url) + ;; Add subthread collapsing to notmuch-show. ;; ;; C-, closes a thread, C-. opens a thread. This mirrors stepping -- cgit 1.4.1