From 3ab42e64b753463285a9d7422a807adab94cd233 Mon Sep 17 00:00:00 2001 From: Oliver Blanthorn Date: Mon, 17 Aug 2020 20:04:14 +0100 Subject: [PATCH] Minor tweak to RC file --- .tridactylrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.tridactylrc b/.tridactylrc index dec3248d..8e0580b8 100644 --- a/.tridactylrc +++ b/.tridactylrc @@ -48,6 +48,11 @@ bind yg composite js "git clone " + document.location.href.replace(/https?:\/\// " As above but execute it and open terminal in folder bind ,g js let uri = document.location.href.replace(/https?:\/\//,"git@").replace("/",":").replace(/$/,".git"); tri.native.run("cd ~/projects; git clone " + uri + "; cd \"$(basename \"" + uri + "\" .git)\"; st") + +" make d take you to the tab you were just on (I find it much less confusing) +bind d composite tab #; tabclose # +bind D tabclose + " I like wikiwand but I don't like the way it changes URLs bindurl wikiwand.com yy composite js document.location.href.replace("wikiwand.com/en","wikipedia.org/wiki") | clipboard yank