mirror of
https://github.com/halfdan/dotfiles.git
synced 2025-09-10 19:56:24 +00:00
Many changes
This commit is contained in:
@@ -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
|
||||
######################################################################
|
||||
|
Reference in New Issue
Block a user