mirror of
https://github.com/sebaschi/dotfiles.git
synced 2025-11-08 20:14:27 +01:00
50 lines
1.2 KiB
Bash
50 lines
1.2 KiB
Bash
#To reload config file in current session with Prefix r
|
|
bind r source-file ~/.tmux.conf \; display "Reloaded"
|
|
|
|
#Intuitive Bindings for splitting windows
|
|
bind | split-window -h
|
|
bind - split-window -v
|
|
|
|
# moving between panes with Prefix h,j,k,l (vim binding)
|
|
bind h select-pane -L
|
|
bind j select-pane -D
|
|
bind k select-pane -U
|
|
bind l select-pane -R
|
|
|
|
# Quick window selection
|
|
bind -r C-h select-window -t :-
|
|
bind -r C-l select-window -t :+
|
|
|
|
# Easier Resize
|
|
bind H resize-pane -L 5
|
|
bind J resize-pane -D 5
|
|
bind K resize-pane -U 5
|
|
bind L resize-pane -R 5
|
|
|
|
set -g default-terminal "screen-256color"
|
|
|
|
# set colors for the active window
|
|
setw -g window-status-current-style fg=white,bold,bg=red
|
|
|
|
# colors for pane border
|
|
setw -g pane-border-style fg=green,bg=black
|
|
setw -g pane-active-border-style fg=white,bg=colour83
|
|
|
|
# active pane normal, other shaded out
|
|
setw -g window-style fg=colour240,bg=colour235
|
|
setw -g window-active-style fg=white,bg=black
|
|
|
|
# enable activity alerts
|
|
setw -g monitor-activity on
|
|
set -g visual-activity on
|
|
|
|
# setting the delay between prefix and command
|
|
set -s escape-time 1
|
|
|
|
# setting the base index for windows to 1 instead of 0
|
|
set -g base-index 1
|
|
|
|
# allow mouse interaction
|
|
set -g mouse on;
|
|
|