aboutsummaryrefslogtreecommitdiff
path: root/gitconfig
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <msabate@suse.com>2019-01-24 17:04:00 +0100
committerMiquel Sabaté Solà <msabate@suse.com>2019-01-24 17:04:00 +0100
commitb030deb9bc34f52abead32da970af75ebdce8f78 (patch)
treefce383010fb0da90a8386536bbdef96d245b6a48 /gitconfig
parent5af5137777e42fa418175f10c262d50421b36dd8 (diff)
downloaddotfiles-b030deb9bc34f52abead32da970af75ebdce8f78.tar.gz
dotfiles-b030deb9bc34f52abead32da970af75ebdce8f78.zip
Use emacsclient as the default editor
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à <msabate@suse.com>
Diffstat (limited to 'gitconfig')
-rw-r--r--gitconfig2
1 files changed, 1 insertions, 1 deletions
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