Many changes

This commit is contained in:
Fabian Becker
2022-10-16 15:44:07 +02:00
parent eb17f0ab25
commit f5a7947005
18 changed files with 222 additions and 122 deletions

View File

@@ -73,6 +73,7 @@ set -g default-terminal "screen-256color"
# Terminal type configuration
set -ga terminal-overrides ",screen-256color:RGB"
set -ag terminal-overrides ",alacritty:RGB"
# Start window numbering at specific num
set -g base-index 1
@@ -80,6 +81,9 @@ set -g base-index 1
# Renumber windows on window close
set -g renumber-windows on
# Set vi mode
setw -g mode-keys vi
#######################################################
# KEY BINDING
#######################################################
@@ -103,6 +107,11 @@ bind-key C-a send-prefix
bind-key -r f run-shell "tmux neww ~/.local/bin/tmux-sessionizer"
bind -T copy-mode-vi v send -X begin-selection
bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "pbcopy"
bind P paste-buffer
bind -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "pbcopy"
######################################################################
# END OF GENERAL CONFIGURATIONS
######################################################################