Binds CTRL+a to tmux prefix

This commit is contained in:
Bogdan Buduroiu 2022-11-28 13:48:00 +08:00
parent 44b9b59118
commit 2f70120ee2

View file

@ -1,3 +1,8 @@
# Set the prefix to `ctrl + a` instead of `ctrl + b`
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
# Automatically set window title
set-window-option -g automatic-rename on
set-option -g set-titles on
@ -29,8 +34,6 @@ bind -n C-k run "($is_vim && tmux send-keys C-k) || \
bind -n C-l run "($is_vim && tmux send-keys C-l) || \
tmux select-pane -R"
bind-key -n C-\ if-shell "$is_vim" "send-keys C-\\" "select-pane -l"
# This tmux statusbar config was created by tmuxline.vim
# on Sun, 27 Nov 2022