diff --git a/tmux.conf b/tmux.conf index 81cbd83..e8c2829 100644 --- a/tmux.conf +++ b/tmux.conf @@ -1,5 +1,5 @@ # UGH -# set-option -g default-command "reattach-to-user-namespace -l zsh" +set-option -g default-command "reattach-to-user-namespace -l zsh" # Set the prefix to ^A unbind C-b @@ -30,7 +30,7 @@ bind C-a last-window set-window-option -g mode-keys vi # vi key set-option -g status-keys vi -# Terminal TitlesĀ¬ +# Terminal Titles set -g set-titles on set -g set-titles-string "#H (#S)" @@ -56,3 +56,8 @@ bind-key u capture-pane \; save-buffer /tmp/tmux-buffer \; new-window -n "urlvie # Escape delay set -s escape-time 0 + +# Open new windows in current directory +bind '"' split-window -c "#{pane_current_path}" +bind % split-window -h -c "#{pane_current_path}" +bind c new-window -c "#{pane_current_path}"