~wombelix/dotfiles

987ab69684ff67635093236b5629aa5385338c4e — Dominik Wombacher 3 months ago ec1753f
feat(tmux.conf): Adjust color, change prefix key to ctrl-a
1 files changed, 14 insertions(+), 2 deletions(-)

M tmux.conf
M tmux.conf => tmux.conf +14 -2
@@ 2,9 2,21 @@
#
# SPDX-License-Identifier: MIT

set-window-option -g mode-keys vi
# change colors
set -g window-status-style bg=white,fg=black
set -g window-status-current-style bg=red,fg=white

# Set the prefix to Ctrl+a, screen default prefix
set -g prefix C-a

# Remove the old prefix
unbind C-b

# Customize vi mode
# Send Ctrl+a to applications by pressing it twice
bind C-a send-prefix

# vi mode
set-window-option -g mode-keys vi
bind-key -T copy-mode-vi 'v' send -X begin-selection
bind-key -T copy-mode-vi 'y' send -X copy-selection-and-cancel