|
@@ -68,9 +68,18 @@ bindkey "${terminfo[knp]}" forward-word # PageDown
|
|
|
alias l="k -h"
|
|
|
alias ssh="TERM=xterm-256color ssh"
|
|
|
|
|
|
-export EDITOR=vim
|
|
|
path=(~/.local/bin $path)
|
|
|
|
|
|
+if whence -p nvr > /dev/null; then
|
|
|
+ export EDITOR="nvr -s --remote-wait"
|
|
|
+elif whence -p nvim > /dev/null; then
|
|
|
+ export EDITOR=nvim
|
|
|
+else
|
|
|
+ export EDITOR=vim
|
|
|
+fi
|
|
|
+
|
|
|
+alias e="$EDITOR"
|
|
|
+
|
|
|
if whence -p delta > /dev/null; then
|
|
|
export GIT_PAGER=delta
|
|
|
fi
|