Update .config/tmux/tmux.conf

This commit is contained in:
Anthony Rodriguez 2024-08-09 19:58:34 +02:00
parent ac3860f216
commit 19cf894ed6

View file

@ -3,11 +3,18 @@ set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'christoomey/vim-tmux-navigator'
set -g @plugin 'catppuccin/tmux#latest'
set -g @plugin 'tmux-plugins/tmux-yank'
# change prefix
unbind C-b
set -g prefix C-Space
bind C-Space send-prefix
# set the control character to Ctrl+Spacebar (instead of Ctrl+B)
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}"
# start windows and panes at 1 instead of 0
set -g base-index 1