summaryrefslogtreecommitdiffstatshomepage
path: root/nvim/.config/profile.d/20-nvim.sh
diff options
context:
space:
mode:
Diffstat (limited to 'nvim/.config/profile.d/20-nvim.sh')
-rw-r--r--nvim/.config/profile.d/20-nvim.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/nvim/.config/profile.d/20-nvim.sh b/nvim/.config/profile.d/20-nvim.sh
new file mode 100644
index 0000000..d6a35a6
--- /dev/null
+++ b/nvim/.config/profile.d/20-nvim.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+export EDITOR="nvim"
+export DIFFPROG="$EDITOR -d"