fix: tmux control character to Ctrl+Spacebar

This commit is contained in:
Victor Westerlund 2024-12-06 11:34:32 +01:00
parent bea23e4341
commit d13bdce14e

View file

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