about summary refs log tree commit diff
path: root/users/tazjin/emacs/config/bindings.el
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2020-09-25T13·12+0100
committertazjin <mail@tazj.in>2020-09-27T21·02+0000
commit48235517f67bd9aa92f2824e991fef62d00b41fa (patch)
tree1e85966c8eb3749378f6a07651315b664997d89d /users/tazjin/emacs/config/bindings.el
parent6bdc6c85cdf6b1e8ee99a44f0c1733d97f0abfa2 (diff)
feat(tazjin/emacs): Add function for quick Songwhip lookups r/1817
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 <mail@tazj.in>
Diffstat (limited to 'users/tazjin/emacs/config/bindings.el')
-rw-r--r--users/tazjin/emacs/config/bindings.el3
1 files changed, 3 insertions, 0 deletions
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