# Terminal colors set -g default-terminal "tmux-256color" set -as terminal-features ",xterm*:RGB" set -g mouse on set -g base-index 1 set -g pane-base-index 1 set -s escape-time 10 set-option -g focus-events on # remap prefix from 'C-b' to 'C-f' unbind l unbind C-b set-option -g prefix C-f bind-key C-f send-prefix # reload config file bind r source-file ~/.config/tmux/tmux.conf # switch panes using Alt-arrow without prefix setw -g mode-keys vi bind -n C-h select-pane -L bind -n C-l select-pane -R bind -n C-k select-pane -U bind -n C-j select-pane -D bind h select-pane -L bind l select-pane -R bind k select-pane -U bind j select-pane -D bind f resize-pane -Z bind m command-prompt "new-session -s %1" # split pane unbind '"' unbind % bind 'v' split-window -h -l 45% -c "#{pane_current_path}" bind 't' split-window -v -l 40% -c "#{pane_current_path}" bind j run-shell -b "~/.local/bin/tmux-toggle-term float" bind g run-shell 'tmux popup -d "#{pane_current_path}" -xC -yC -w90% -h90% -E gitu' bind e run-shell 'tmux popup -d "#{pane_current_path}" -xC -yC -w90% -h90% -E "~/.local/bin/tmux-lf"' ## STATUS BAR ################################################################## ## Status bar design set -g status-justify left set -g status-position top set -g status-bg '#121212' set -g status-fg '#DCD7BA' set -g status-left-length 20 set -g status-right ' #[fg=colour232,bg="#af875f",bold]#{?client_prefix, [PFX] ,} #[fg="#1c1c1c",bg="#767676",bold][#S] ' set -g status-left ' '