mirror of
https://codeberg.org/vlw/dotfiles.git
synced 2025-09-13 19:03:40 +02:00
20 lines
530 B
Bash
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}"
|