Files
dotfiles/config/.tmux.conf
2022-08-31 13:05:23 +03:00

29 lines
686 B
Bash

# general options
set -g default-terminal "xterm-256color"
set -sg escape-time 0
set-option -ga terminal-overrides ",xterm-256color:Tc"
set -g mouse on
set -sg base-index 1
set -wg pane-base-index 1
# statusline
set -g status-left "[#I] "
set -g status-right "\"#H\" %H:%M %d-%m-%Y"
set -ag status-style "bg=#d4be98"
set -ag status-style "fg=#32302f"
# bindings
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# use <C-b>g and <C-b>v to split windows
unbind %
unbind '"'
bind v split-window -h -c "#{pane_current_path}"
bind g split-window -v -c "#{pane_current_path}"
bind R source-file ~/.tmux.conf \; display-message "Config reloaded..."