aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Odersky <jakob@odersky.com>2017-01-21 22:07:53 -0800
committerJakob Odersky <jakob@odersky.com>2017-01-21 22:12:31 -0800
commit8f73bf759e1ff027904b42a840910bdc484908ae (patch)
tree9373f82a4edf74c96bac70752ef520a0c559a5f2
parent3987431b132b2db51fb0bacca52d8740575ae40d (diff)
downloaddotfiles-8f73bf759e1ff027904b42a840910bdc484908ae.tar.gz
dotfiles-8f73bf759e1ff027904b42a840910bdc484908ae.tar.bz2
dotfiles-8f73bf759e1ff027904b42a840910bdc484908ae.zip
use emacs client
-rw-r--r--home/.bash_aliases3
-rw-r--r--home/.gitconfig2
2 files changed, 2 insertions, 3 deletions
diff --git a/home/.bash_aliases b/home/.bash_aliases
index 8d864d1..3232842 100644
--- a/home/.bash_aliases
+++ b/home/.bash_aliases
@@ -1,3 +1,2 @@
-
-alias ec=emacs
+alias ec="emacsclient --alternate-editor='' --create-frame --no-wait"
alias scala='scala -Dscala.color'
diff --git a/home/.gitconfig b/home/.gitconfig
index 82b334b..488f04c 100644
--- a/home/.gitconfig
+++ b/home/.gitconfig
@@ -12,5 +12,5 @@
[push]
default = simple
[core]
- editor = emacs -nw
+ editor = emacsclient --alternate-editor='' --tty
excludesfile = ~/.gitignore_global