]> git.rmz.io Git - dotfiles.git/blobdiff - tmux/tmux.conf
task: set solarized-dark-256 colortheme
[dotfiles.git] / tmux / tmux.conf
index 8184f5377a8495fdd3855226c9227af8fa37c348..e74bcb11116653cf832774c05a5142c602c7a626 100644 (file)
@@ -1,8 +1,16 @@
 set -g default-terminal "tmux-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
 
 set -g mode-keys vi
 
+# Start windows and panes at 1, not 0
+set  -g base-index 1
+setw -g pane-base-index 1
+bind-key 0 select-window -t 10
+
 bind-key Escape copy-mode
 unbind-key p
 bind-key p paste-buffer
 bind-key Escape copy-mode
 unbind-key p
 bind-key p paste-buffer
@@ -11,10 +19,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