28 lines
682 B
Bash
28 lines
682 B
Bash
# Pane border styling
|
|
set -g pane-border-style fg='#742727',bg=black
|
|
set -g pane-active-border-style fg=red,bg=black
|
|
|
|
# Status bar styling
|
|
set -g status-style bg='#0C8A92',fg=black
|
|
|
|
# Change prefix key to backtick
|
|
set-option -g prefix `
|
|
unbind C-b
|
|
bind-key ` send-prefix
|
|
|
|
# Split panes using - and = with current path
|
|
unbind '"'
|
|
bind - splitw -v -c '#{pane_current_path}'
|
|
unbind '%'
|
|
bind = splitw -h -c '#{pane_current_path}'
|
|
|
|
# Vi mode settings
|
|
bind-key -T copy-mode-vi Y send-keys -X copy-pipe 'yank > #{pane_tty}'
|
|
set-window-option -g mode-keys vi
|
|
|
|
# Other settings
|
|
set-option -g escape-time 0
|
|
set-option -g base-index 1
|
|
set-window-option -g mouse on
|
|
set -g history-limit 100000
|