71 lines
1.0 KiB
Plaintext
71 lines
1.0 KiB
Plaintext
|
####
|
||
|
# tl-weemux
|
||
|
# Thurstylark's weechat+tmux setup
|
||
|
#
|
||
|
# tmux.conf
|
||
|
|
||
|
|
||
|
|
||
|
####
|
||
|
# Keep the session even if no clients are attached
|
||
|
#
|
||
|
# NOTE: CRITICALLY NECESSARY
|
||
|
set -g destroy-unattached off
|
||
|
|
||
|
|
||
|
|
||
|
####
|
||
|
# Set terminfo
|
||
|
set -g default-terminal "tmux-256color"
|
||
|
|
||
|
|
||
|
|
||
|
####
|
||
|
# Set base pane and window index to 1
|
||
|
set -g base-index 1
|
||
|
set -g pane-base-index 1
|
||
|
|
||
|
|
||
|
####
|
||
|
# Disable status bar
|
||
|
set -g status off
|
||
|
|
||
|
|
||
|
####
|
||
|
# Change prefix to C-a
|
||
|
set -g prefix C-a
|
||
|
|
||
|
|
||
|
####
|
||
|
# Use C-a,a to send prefix to nested session
|
||
|
bind-key a send-prefix
|
||
|
|
||
|
|
||
|
####
|
||
|
# Set audible bell on, and visual bell off because it is slooooowwwww
|
||
|
set -g bell-action any
|
||
|
set -g visual-bell off
|
||
|
set -g visual-silence off
|
||
|
set -g visual-activity off
|
||
|
|
||
|
|
||
|
####
|
||
|
# No delay for escape key press
|
||
|
set -sg escape-time 0
|
||
|
|
||
|
|
||
|
####
|
||
|
# Use Alt-arrow keys without prefix key to switch panes
|
||
|
bind -n M-Left select-pane -L
|
||
|
bind -n M-Right select-pane -R
|
||
|
bind -n M-Up select-pane -U
|
||
|
bind -n M-Down select-pane -D
|
||
|
|
||
|
|
||
|
####
|
||
|
# Do the same for HJKL
|
||
|
bind -n M-h select-pane -L
|
||
|
bind -n M-l select-pane -R
|
||
|
bind -n M-k select-pane -U
|
||
|
bind -n M-j select-pane -D
|