# remap prefix to ctrl+a unbind-key C-b set-option -g prefix C-a bind-key C-a send-prefix # use command prompt shortcut similar to vscode bind-key -n C-p command-prompt # since tmux prefix is now ctrl+a, use ctrl+b to send ctrl+a to program bind-key -n C-b send C-a # split panes using | (vertically) and - (horizontally) bind / split-window -h -c "#{pane_current_path}" bind - split-window -v -c "#{pane_current_path}" bind c new-window -c "#{pane_current_path}" unbind '"' unbind % # reload on r bind r source-file ~/.tmux.conf \; display "Reloaded config!" # enable mouse mode set -g mouse on # start numbering panes at 1 set -g base-index 1 setw -g pane-base-index 1 # design set -g default-terminal "screen-256color" setw -g clock-mode-color colour1 set -g visual-activity off set -g status-position bottom set -g status-justify left set -g status-style "fg=color6" set -g status-left "" set -g status-right "%Y-%m-%d %H:%M" set -g status-right-length 50 set -g status-left-length 10 setw -g window-status-current-style "fg=black bg=color6" setw -g window-status-current-format " #I #W #F " setw -g window-status-format " #I #[fg=colour7]#W #[fg=colour1]#F "