dotfiles/.tmux.conf
2024-11-22 03:26:04 +01:00

20 lines
530 B
Bash

# Enable PS1 colors
set -g default-terminal "screen-256color"
# Resize to smallest attached client
#set -g window-size smallest
# Enable mouse support
set -g mouse on
# Set the control character to Ctrl+Spacebar (instead of Ctrl+B)
set -g prefix C-space
set -g prefix F1
#unbind-key C-b
bind-key C-space send-prefix
bind-key F1 send-prefix
# Set new panes to open in current directory
bind c new-window -c "#{pane_current_path}"
bind '"' split-window -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"