From 340ed4036be1a61aea43837db7c822502245179b Mon Sep 17 00:00:00 2001 From: Ade Attwood Date: Sun, 22 Nov 2020 20:57:40 +0000 Subject: [PATCH] fix(git): format .gitconfig and move to Emacs for the editor For some reason the .gitconfig was indented with tabs this has now been correctly formatted. Also move over to the Emacs client for the git editor. This has been working well for now. My in the future look at forcing the editor to open in the terminal as sometimes the focusing in X is a bit off --- site-modules/core/templates/git/gitconfig.erb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/site-modules/core/templates/git/gitconfig.erb b/site-modules/core/templates/git/gitconfig.erb index 8e44dda..dce0b9c 100644 --- a/site-modules/core/templates/git/gitconfig.erb +++ b/site-modules/core/templates/git/gitconfig.erb @@ -3,12 +3,12 @@ <%= scope.call_function('template', ["core/header.erb"]) %> [user] - email = <%= scope.call_function('lookup', ["email"]) %> - name = <%= scope.call_function('lookup', ["user_name"]) %> + email = <%= scope.call_function('lookup', ["email"]) %> + name = <%= scope.call_function('lookup', ["user_name"]) %> [core] - editor = nvim - autocrlf = input + editor = $ZSH/plugins/emacs/emacsclient.sh + autocrlf = input [rerere] - enabled = true + enabled = true