From b030deb9bc34f52abead32da970af75ebdce8f78 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Thu, 24 Jan 2019 17:04:00 +0100 Subject: Use emacsclient as the default editor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I've created a special emacsclient-a-nw executable script which should suffice for places like the gitconfig or bashrc. The good thing about having emacsclient as the default editor, is that then you gain Magit, for example, when writing `git commit`. Signed-off-by: Miquel Sabaté Solà --- gitconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gitconfig') diff --git a/gitconfig b/gitconfig index cd61d20..40dda5e 100644 --- a/gitconfig +++ b/gitconfig @@ -4,7 +4,7 @@ signingkey = 0x96BE8C6FD89D6565 [core] - editor = vim + editor = emacsclient-a-nw excludesfile = ~/.gitignore whitespace = trailing-space,space-before-tab abbrev = 12 -- cgit v1.2.3