summaryrefslogtreecommitdiff
path: root/fish/conf.d/editor.fish
diff options
context:
space:
mode:
Diffstat (limited to 'fish/conf.d/editor.fish')
-rw-r--r--fish/conf.d/editor.fish5
1 files changed, 5 insertions, 0 deletions
diff --git a/fish/conf.d/editor.fish b/fish/conf.d/editor.fish
index af32b25..6b58b6a 100644
--- a/fish/conf.d/editor.fish
+++ b/fish/conf.d/editor.fish
@@ -41,6 +41,11 @@ function hxdiff
diff -u -r $argv >$tmp
hx $tmp
rm -f $tmp
+
+end
+
+function tfdiff
+ hxdiff --exclude='state.tf' --exclude='*.tfstate*'
end
abbr -a lhx 'editor::helix::open_with_lock'