diff --git a/conf/tmux.conf b/conf/tmux.conf index e1c8a85..f860ad6 100644 --- a/conf/tmux.conf +++ b/conf/tmux.conf @@ -26,6 +26,8 @@ set -g status-keys emacs # emacs key bindings in tmux command p setw -g aggressive-resize on # super useful when using "grouped sessions" and multi-monitor setup +set -g update-environment -r + # edit configuration bind e new-window -n "~/.tmux.conf" "EDITOR=\${EDITOR//mvim/vim} && EDITOR=\${EDITOR//gvim/vim} && \${EDITOR:-vim} ~/.tmux.conf && tmux source ~/.tmux.conf && tmux display \"~/.tmux.conf sourced\"" diff --git a/conf/tmux.conf.local b/conf/tmux.conf.local index a030b3f..195f83c 100644 --- a/conf/tmux.conf.local +++ b/conf/tmux.conf.local @@ -71,3 +71,5 @@ if "test ! -d ~/.tmux/plugins/tpm" \ run '~/.tmux/plugins/tpm/tpm' + +new-session