diff options
Diffstat (limited to 'tmux/tmux.conf')
-rw-r--r-- | tmux/tmux.conf | 23 |
1 files changed, 4 insertions, 19 deletions
diff --git a/tmux/tmux.conf b/tmux/tmux.conf index 4410fe0e..ad420528 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -1,20 +1,8 @@ -# Strip out a lot of machine and X11 dependent crap from the initial -# environment -set-environment -gru DISPLAY -set-environment -gru SSH_CLIENT -set-environment -gru SSH_CONNECTION -set-environment -gru SSH_TTY -set-environment -gru WINDOWID - -# Otherwise, use the environment we had when we started; don't touch it during -# a session unless I specifically ask -set-option -g update-environment 'COLORFGBG COLORTERM' +# Don't update the environment from anywhere; too confusing +set-option -g update-environment '' # Setting this makes each new pane a non-login shell, which suits me better -set-option -g default-command "$SHELL" - -# Expect a 256-color terminal -set-option -g default-terminal 'screen-256color' +set-option -g default-command "exec $SHELL" # Change the prefix to ^A rather than the default of ^B, because I'm a godless # GNU Screen refugee, and also I like using ^B in my shell and in Vim more @@ -28,7 +16,7 @@ bind-key C-a last-window # Quick ways to kill single windows and the whole server bind-key '/' confirm-before 'kill-window' -bind-key "\\" confirm-before 'kill-server' +bind-key '\' confirm-before 'kill-server' # Slightly more intuitive way to split windows bind-key '_' split-window -v @@ -81,9 +69,6 @@ set-option -g base-index 1 # meta and prefer things to be snappier set-option -g escape-time 0 -# Keep plenty of history -set-option -g history-limit 100000 - # Don't interfere with my system clipboard set-option -g set-clipboard off |