From 75396c4c4c397e862b7542369fb88e0af129c8d4 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Sun, 19 Feb 2023 14:10:14 +0000 Subject: [PATCH] home: firefox: tridactyl: use more private editor --- home/firefox/tridactyl/tridactylrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/home/firefox/tridactyl/tridactylrc b/home/firefox/tridactyl/tridactylrc index 200b74e..7c0005f 100644 --- a/home/firefox/tridactyl/tridactylrc +++ b/home/firefox/tridactyl/tridactylrc @@ -6,6 +6,11 @@ colorscheme dark " Make tridactyl open Vim in my prefered terminal set editorcmd @editorcmd@ + +" Remove editor file after use +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 " }}} " Binds {{{