X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/9fc5838e2a8827e5c17f448b24d1474a712c4a15..e8ae4a469b8b5db19a27a2bf71bb04142a68a6f0:/tmux/tmux.conf diff --git a/tmux/tmux.conf b/tmux/tmux.conf index 8184f53..4e4a71e 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -1,6 +1,9 @@ set -g default-terminal "tmux-256color" +# enable true color for kitty +set -ag terminal-overrides ",xterm-kitty:Tc" set -g set-titles on +set -g mouse set -g mode-keys vi bind-key Escape copy-mode @@ -11,10 +14,6 @@ bind-key -T copy-mode-vi 'y' send-keys -X copy-selection bind-key -T copy-mode-vi 'Space' send-keys -X halfpage-down bind-key -T copy-mode-vi 'Bspace' send-keys -X halfpage-up -# extra commands for interacting with the ICCCM clipboard -bind-key C-c run "tmux save-buffer - | xclip -i -sel clipboard" -bind-key C-v run "tmux set-buffer \"$(xclip -o -sel clipboard)\"; tmux paste-buffer" - # easy-to-remember split pane commands bind-key | split-window -h bind-key - split-window -v