From 2867dfb9f2f31248040ed4ecde91aa102ff4a781 Mon Sep 17 00:00:00 2001 From: William Carroll Date: Sat, 17 Jun 2017 21:31:28 -0400 Subject: Fixes EDITOR env variable configuration --- emacs/index.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 emacs/index.sh diff --git a/emacs/index.sh b/emacs/index.sh old mode 100644 new mode 100755 index d8dbe954b2b3..e794c24ae942 --- a/emacs/index.sh +++ b/emacs/index.sh @@ -11,7 +11,7 @@ fi if [ -n "$INSIDE_EMACS" ]; then export EDITOR="edit-file-in-emacs.sh" else - export EDITOR=$(which vim) + export EDITOR="command nvim" fi @@ -19,7 +19,7 @@ vim () { if [ -n "$INSIDE_EMACS" ]; then emacsclient -e "(find-file-other-window \"$1\")" else - eval "$EDITOR \"$1\"" + nvim "$1" fi } -- cgit 1.4.1