vsc-dotfiles/tmux/tmux.conf
2021-11-15 20:04:52 +01:00

42 lines
959 B
Bash

setw -g mode-keys vi
set -g default-terminal tmux-256color
set-option -g base-index 1
set-option -g prefix C-a
unbind C-b
bind a send-prefix
bind-key C-a last-window
unbind %
bind-key | split-window -h -c "#{pane_current_path}"
bind-key - split-window -v -c "#{pane_current_path}"
bind-key / split-window -h -c "#{pane_current_path}"
bind-key c neww -c "#{pane_current_path}"
bind-key h select-pane -L
bind-key j select-pane -D
bind-key k select-pane -U
bind-key l select-pane -R
bind-key k confirm-before -p "Kill window #w? (y/n)" kill-window
set -g mouse on
unbind Space
bind-key Space next-window
set -sg escape-time 50
set -g status-justify centre
set -g status-bg colour16
set -g status-left-length 100
set -g status-fg colour12
set -g status-left '#[fg=green]#(hostname -s)#[fg=colour12]:#[fg=colour12]#S '
set -g window-status-format '#[fg=colour12]#I:#W '
set -g window-status-current-format '#[fg=red]#I:#W#[fg=green]#F #[fg=colour12]'