-set -g default-terminal "screen-256color"
+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
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
bind-key -r J resize-pane -D 5
bind-key -r K resize-pane -U 5
bind-key -r L resize-pane -R 5
+
+#TODO use THEME env somehow, see FORMATS in tmux(1)
+set -g @plugin "arcticicestudio/nord-tmux"
+run '$XDG_CONFIG_HOME/tmux/plugins/tpm/tpm'