fix(tmux): tmux control character from Ctrl+b or F1 to Ctrl+Spacebar only (#7)

Reviewed-on: https://codeberg.org/vlw/dotfiles/pulls/7
This commit is contained in:
Victor Westerlund 2024-12-06 10:36:53 +00:00
parent 22eedc9a66
commit 41109193bf

View file

@ -2,17 +2,15 @@
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
# 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}"