46 lines
1.3 KiB
Bash
46 lines
1.3 KiB
Bash
#Add a mapping for reloading the conf file
|
|
bind r source-file ~/.tmux.conf \; display-message "RELOADING CONFIGURATION FILE…"
|
|
|
|
# remap prefix from 'C-b' to 'C-a'
|
|
unbind C-b
|
|
set-option -g prefix C-a
|
|
bind-key C-a send-prefix
|
|
|
|
# Enable mouse control (clickable windows, panes, resizable panes)
|
|
set -g mouse on
|
|
|
|
set -g status-style bg=white,fg=black
|
|
set -g window-active-style bg=black
|
|
set -g window-style bg=#212121
|
|
|
|
set -g pane-border-style fg=gray
|
|
set -g pane-border-lines heavy
|
|
set -g pane-active-border-style fg=yellow
|
|
# set -g pane-border-lines double
|
|
set -g pane-border-status bottom
|
|
set -g pane-border-format ''
|
|
|
|
set -g window-status-current-format '[#I:#W]'
|
|
set -g window-status-format '#I:#W'
|
|
set -g window-status-current-style fg=yellow
|
|
|
|
# List of plugins
|
|
# set -g @plugin 'tmux-plugins/tpm'
|
|
|
|
set-option -g status-right ""
|
|
set-option -g status-left ""
|
|
set -g status-style bg=default
|
|
|
|
# set-window-option -g visual-bell on
|
|
|
|
bind-key H display-popup -E "htop"
|
|
# bind-key N display-popup "~/go/bin/klod"
|
|
# bind-key N display-popup -E 'tmux new-session -A -s scratch ~/go/bin/klod \; set status off'
|
|
|
|
bind '"' split-window -c "#{pane_current_path}"
|
|
bind % split-window -h -c "#{pane_current_path}"
|
|
bind c new-window -c "~/Documents"
|
|
|
|
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
|
# run '~/.tmux/plugins/tpm/tpm'
|
|
|