From eccac287591ce7dc4615ca239837cff952c1c348 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Fri, 17 Jul 2015 19:52:32 -0700 Subject: [emacs] add more things for emacs --- Makefile | 1 + bashrc | 4 +++- tmux.conf | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) 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 -- cgit 1.4.1