My own configuration files
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

39 lines
1.1 KiB

# To access Tmux actions, we'll use Ctrl+A
set -g prefix C-a
# ... not Ctrl+B, which is the default
unbind C-b
# ... and pressing Ctrl+A twice sends the Ctrl+A
bind C-a send-prefix
# Panes and Windows start at index 1, not 0
set -g base-index 1
set -g pane-base-index 0
# using "|" and "-" for splits
bind \\ split-window -h
bind - split-window -v
# Ctrl+Enter creates a new tab
bind Enter new-window
# Don't wait for the escape press
set -s escape-time 0
# Also, don't keep waiting for more keys when moving around panels
set-option -g repeat-time 0
# Define the statusbar
set-option -g status on
set-option -g status-style fg=cyan # ,bg=black
set-option -g window-status-current-style fg=black,bg=cyan
set-option -g window-status-current-format " #I "
set-option -g window-status-format " #I "
set-option -g status-right ""
set-option -g status-right-length 0
set-option -g status-left ""
set-option -g status-left-length 0
# Options to make NeoVim (more) happy
set-option -g focus-events on
set-option -g default-terminal "tmux-256color"
set-option -sa terminal-overrides ',tmux-256color:RGB'