From 0860db73ae6fd9a6f6347219d820bf026a6b8b91 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Sun, 27 Sep 2026 17:38:39 +0200 Subject: * MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Automated-commit-by: dots Signed-off-by: Robert Günzler --- .config/tridactyl/tridactylrc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to '.config/tridactyl/tridactylrc') diff --git a/.config/tridactyl/tridactylrc b/.config/tridactyl/tridactylrc index 526b7eb..d74d7fa 100644 --- a/.config/tridactyl/tridactylrc +++ b/.config/tridactyl/tridactylrc @@ -21,19 +21,22 @@ unbind unbind unbind --mode=ex " select all in cmdline unbind --mode=browser +unbind bind n findnext 1 bind N findnext -1 " hint: mpv/video -set exaliases.mpvsafe js -p tri.excmds.shellescape(JS_ARG).then(u => tri.excmds.exclaim_quiet(`play-mpv ${u}`)) +set exaliases.mpvsafe js -p tri.excmds.shellescape(JS_ARG).then(u => tri.excmds.exclaim_quiet(`play-mpv '${u}'`)) bind gv composite get_current_url | mpvsafe bind yv composite getclip | mpvsafe bind ;v hint -W mpvsafe -"bind ;e hint -hW js -p tri.excmds.exclaim_quiet(`${tri.config.get('editorcmd')} /tmp/tridactl.${document.location.hostname}.txt '+normal!i${JS_ARG}'`) +alias editor_rm composite editor | jsb -p tri.native.run(`rm -f '${JS_ARG[0]}'`) +bind --mode=insert editor_rm +bind --mode=input editor_rm -set exaliases.imgsafe js -p tri.excmds.shellescape(JS_ARG).then(u => tri.excmds.exclaim_quiet(`fyi 'tridactyl::mvi' ${u} && mvi ${u}`)) +set exaliases.imgsafe mpvsafe bind ;i composite hint -Jpipe img | js -p JS_ARG.src | imgsafe bind gp composite get_current_url | winopen -popup -- cgit 1.4.1