From 3a54b1f4a4c80aa7d5d663ff49e299029e1dfccf Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Thu, 12 Mar 2026 10:07:58 +0200 Subject: Update --- fish/conf.d/editor.fish | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/fish/conf.d/editor.fish b/fish/conf.d/editor.fish index bda4644..af32b25 100644 --- a/fish/conf.d/editor.fish +++ b/fish/conf.d/editor.fish @@ -36,6 +36,13 @@ function editor::helix::edit::remote hx $local_path end +function hxdiff + set tmp (mktemp /tmp/hxdiff_XXXXXX.diff) + diff -u -r $argv >$tmp + hx $tmp + rm -f $tmp +end + abbr -a lhx 'editor::helix::open_with_lock' abbr -a hxl 'editor::helix::open_with_lock' abbr -a hxlf 'editor::helix::open_with_lock::force' -- cgit v1.2.3