]> git.rmz.io Git - dotfiles.git/blobdiff - tmux/tmux.conf
mpv: don't ignore vp9 codecs
[dotfiles.git] / tmux / tmux.conf
index 9f4144f051d6de597ea44677e8ed69efa41953ee..4e4a71ea197d82e0add24be8ffbb4ffdf11457c5 100644 (file)
@@ -1,6 +1,9 @@
-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 set-titles on
 
+set -g mouse
 set -g mode-keys vi
 
 bind-key Escape copy-mode
 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
 
 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
 # easy-to-remember split pane commands
 bind-key | split-window -h
 bind-key - split-window -v
@@ -36,3 +35,7 @@ bind-key -r H resize-pane -L 5
 bind-key -r J resize-pane -D 5
 bind-key -r K resize-pane -U 5
 bind-key -r L resize-pane -R 5
 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'