38 lines
761 B
Bash
38 lines
761 B
Bash
|
|
# use interactive shell instead of login shell
|
|
set-option -g default-command "/bin/bash"
|
|
|
|
# enable rgb colors
|
|
set-option -sa terminal-features ',xterm-256color:RGB'
|
|
|
|
# enable mouse support
|
|
set -g mouse on
|
|
# bind -n WheelUpPane {
|
|
# if -F '#{==:#{window_name},nvim}' {
|
|
# send-keys -M
|
|
# } {
|
|
# copy-mode -e
|
|
# }
|
|
# }
|
|
|
|
# reasonable resizing
|
|
setw -g aggressive-resize on
|
|
|
|
# start window and pane index at 1
|
|
set -g base-index 1
|
|
set -g pane-base-index 1
|
|
set-window-option -g pane-base-index 1
|
|
set-option -g renumber-windows on
|
|
|
|
# status bar
|
|
set -g status-interval 5
|
|
|
|
# buffer size
|
|
set-option -g history-limit 3000
|
|
|
|
# source keymaps
|
|
source $HOME/.config/tmux/keymaps.conf
|
|
|
|
# source custom theme
|
|
source $HOME/.config/tmux/themes/zegonix.conf
|