Binds CTRL+a to tmux prefix
This commit is contained in:
parent
44b9b59118
commit
2f70120ee2
1 changed files with 5 additions and 2 deletions
|
@ -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
|
# Automatically set window title
|
||||||
set-window-option -g automatic-rename on
|
set-window-option -g automatic-rename on
|
||||||
set-option -g set-titles 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) || \
|
bind -n C-l run "($is_vim && tmux send-keys C-l) || \
|
||||||
tmux select-pane -R"
|
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
|
# This tmux statusbar config was created by tmuxline.vim
|
||||||
# on Sun, 27 Nov 2022
|
# on Sun, 27 Nov 2022
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue