#set -g default-terminal "tmux-256color" set -g default-terminal "xterm-256color" #set -ga terminal-overrides ",*256col*:Tc" set -ga terminal-overrides ",xterm-256color:Tc" # action key unbind C-b set-option -g prefix C-t set-option -g repeat-time 0 set-option -g focus-events on #### Key bindings set-window-option -g mode-keys vi #bind a send-key C-t # Reload settings bind r source-file ~/.config/tmux/tmux.conf \; display "Reloaded!" # Open current directory bind o run-shell "open '#{pane_current_path}'" bind -r e kill-pane -a # Select window bind h select-pane -L bind j select-pane -D bind k select-pane -U bind l select-pane -R # Moving window bind -r H resize-pane -L 5 bind -r J resize-pane -D 3 bind -r K resize-pane -U 3 bind -r L resize-pane -R 5 # Split window bind | split-window -h # Ctrl-a | bind - split-window -v # Ctrl-a - bind x kill-pane # Ctrl-a x bind X kill-window # Ctrl-a X #### basic settings set-option -g status-justify "left" #set-option utf8-default on #set-option -g mouse-select-pane set-window-option -g mode-keys vi #set-window-option -g utf8 on # look'n feel set-option -g status-fg cyan set-option -g status-bg black set -g pane-active-border-style fg=colour166,bg=default set -g window-style fg=colour10,bg=default set -g window-active-style fg=colour12,bg=default set-option -g history-limit 64096 set -sg escape-time 10 # allow the title bar to adapt to whatever host you connect to set -g set-titles on set -g set-titles-string "#T" # import if-shell "uname -s | grep -q Darwin" "source ~/.config/tmux/macos.conf" source ~/.config/tmux/theme.conf source ~/.config/tmux/statusline.conf source ~/.config/tmux/utility.conf set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tmux-pain-control' run '~/.config/tmux/plugins/tpm/tpm'