aboutsummaryrefslogtreecommitdiffstats
path: root/.zshenv
diff options
context:
space:
mode:
Diffstat (limited to '.zshenv')
-rw-r--r--.zshenv7
1 files changed, 7 insertions, 0 deletions
diff --git a/.zshenv b/.zshenv
new file mode 100644
index 0000000..50c385f
--- /dev/null
+++ b/.zshenv
@@ -0,0 +1,7 @@
+export PAGER="less -R"
+
+if [[ ! -z $(whence nvim) ]] then
+ export EDITOR='nvim'
+elif [[ ! -z $(whence vim) ]] then
+ export EDITOR='vim'
+fi