summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franckcuny@gmail.com>2015-07-17 19:52:32 -0700
committerFranck Cuny <franckcuny@gmail.com>2015-07-18 21:17:21 -0700
commiteccac287591ce7dc4615ca239837cff952c1c348 (patch)
tree68dd3d77a4df39798eaa474eb707208f9d41cf3c
parent[emacs] add my emacs configuration (diff)
downloademacs.d-eccac287591ce7dc4615ca239837cff952c1c348.tar.gz
[emacs] add more things for emacs
-rw-r--r--Makefile1
-rw-r--r--bashrc4
-rw-r--r--tmux.conf2
3 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8b5bf65..659e1d6 100644
--- a/Makefile
+++ b/Makefile
@@ -5,6 +5,7 @@ INSTALL = \
 	  bash_logout \
 	  bashrc \
 	  bin \
+	  emacs.d \
 	  gitconfig \
 	  gitignore \
 	  tmux.conf \
diff --git a/bashrc b/bashrc
index 751f5e1..a176073 100644
--- a/bashrc
+++ b/bashrc
@@ -1,4 +1,5 @@
-export EDITOR="vim"
+export TERM=xterm-256color
+export EDITOR="emacsclient -a enacs -n"
 export HISTFILE=
 export LANG="en_US.UTF-8"
 export LC_ALL="$LANG"
@@ -57,6 +58,7 @@ alias mv="mv -i"
 alias rm="rm -i"
 
 alias e="$EDITOR"
+alias em="emacsclient -a emacs -nw"
 alias g="git"
 alias gclean="git clean -dfx"
 
diff --git a/tmux.conf b/tmux.conf
index 0194bde..83f6bc4 100644
--- a/tmux.conf
+++ b/tmux.conf
@@ -23,6 +23,8 @@ new-session -s work
 new-session -s main
 new-session -s misc
 
+set -gw mode-keys emacs
+
 set -g status-right '#h'
 
 set -g status-bg white