Files
dotfiles/config/.tmux.conf

32 lines
781 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
set -g set-clipboard on
# statusline
set -g status-left "[#S] "
set -g status-right "[#($HOME/dotfiles/bin/tmux_battery.sh)] \"#H\" %H:%M %d/%m/%Y"
set -g status-right-length 50
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..."