diff --git a/link/.tmux.conf b/link/.tmux.conf index 0a4cfab..a3365a8 100644 --- a/link/.tmux.conf +++ b/link/.tmux.conf @@ -7,6 +7,9 @@ set -g status-interval 5 set -sg escape-time 1 setw -g mode-keys vi +# Fix pasteboard commands on macOS +if-shell 'test "$(uname)" = "Darwin"' 'set-option -g default-command "reattach-to-user-namespace -l bash"' + # Don't rename windows automatically set-option -g allow-rename off @@ -18,6 +21,9 @@ unbind C-b set-option -g prefix C-a bind-key C-a send-prefix +# Opne new windows and tabs in the same directory +bind c new-window -c "#{pane_current_path}" + # Bindings for splitting panes unbind '"' unbind %