set -g default-terminal "tmux-direct" # tmux-direct - modern alternative to tmux-256colors, giving full 24bit for colors instead of only 256 positions set -ga terminal-overrides ",*256col*:Tc" # enable true color support set -s escape-time 0 set -g base-index 1 set -g renumber-windows on set -g display-time 2000 # msg display time - in ms set -g status-style "bg=black" set -ag status-style "fg=green" set -g history-limit 50000 set -g status-interval 5 set -g focus-events on unbind C-b set-option -g prefix C-a bind-key C-a send-prefix bind-key a send-prefix # vi key movement for copy/paste mode # set-window-option -g mode-keys vi # bind -T copy-mode-vi v send-keys -X begin-selection # bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel bind r source-file $HOME/.config/tmux/tmux.conf \; display-message "tmux.conf reloaded" bind h select-pane -L bind j select-pane -D bind k select-pane -U bind l select-pane -R bind \\ split-window -h -c "#{pane_current_path}" bind - split-window -v -c "#{pane_current_path}" unbind '"' unbind %