Files
dots/files/.tmux.conf
Marco Thomas 0a694a7531 Fix tmux index
2021-09-15 11:12:56 +02:00

28 lines
625 B
Bash

set -g default-terminal "tmux-256color"
set -g terminal-overrides ",alacritty:RGB"
#some vi behaviour
bind-key -r h select-pane -L
bind-key -r j select-pane -D
bind-key -r k select-pane -U
bind-key -r l select-pane -R
bind-key v split-window -h
bind-key s split-window -v
# in order to make escape bindings of programs in tmux work
set -s escape-time 5
# enable mouse
set-option -g mouse on
# start pane index at 1
set -g base-index 1
setw -g pane-base-index 1
# reload bind
bind-key r source-file ~/.tmux.conf
set-window-option -g window-status-current-format "[#W]"
set-window-option -g window-status-format "#I:#W"