mirror of
https://codeberg.org/vlw/dotfiles.git
synced 2025-09-13 10:53:41 +02:00
21 lines
603 B
Bash
21 lines
603 B
Bash
# Enable PS1 colors
|
|
set -g default-terminal "screen-256color"
|
|
|
|
# Set custom right status bar: hostname.domain | RFC 3339
|
|
set -g status-right '#(hostname).#(hostname -d) | #(date +"%Y-%m-%d %H:%M:%S")'
|
|
|
|
# Resize to smallest attached client
|
|
set -g window-size smallest
|
|
|
|
# Enable mouse support
|
|
set -g mouse on
|
|
|
|
# Set control character to Ctrl+Spacebar
|
|
set -g prefix C-space
|
|
#unbind-key C-b
|
|
bind-key C-space 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}"
|