From 4d2c03721bf3290efde6bd2078d5edfd0c50e8c6 Mon Sep 17 00:00:00 2001 From: Max Bucknell Date: Sat, 20 Apr 2019 21:31:50 +0100 Subject: [PATCH] Set editor correctly --- git/gitconfig.symlink | 2 +- zsh/zshrc.symlink | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/git/gitconfig.symlink b/git/gitconfig.symlink index 17501a3..68d63d6 100644 --- a/git/gitconfig.symlink +++ b/git/gitconfig.symlink @@ -1,6 +1,6 @@ [core] excludesfile = ~/.gitignore - editor = vim + editor = /usr/local/bin/nvim autocrlf = input fileMode = false diff --git a/zsh/zshrc.symlink b/zsh/zshrc.symlink index 9a57aa7..191cc1d 100644 --- a/zsh/zshrc.symlink +++ b/zsh/zshrc.symlink @@ -79,6 +79,9 @@ ZSH_HIGHLIGHT_STYLES[back-double-quoted-argument]='none' ZSH_HIGHLIGHT_STYLES[assign]='none' ZSH_HIGHLIGHT_STYLES[default]='none' +# Set editor +export EDITOR="/usr/local/bin/nvim" + # Get the first part of the hostname # # Sometimes they have dots in them, I'm not partial to that.