summaryrefslogtreecommitdiffstats
path: root/tmux.conf-alt
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@x220.lan>2020-09-06 16:48:05 +0100
committerMatthew Lemon <lemon@x220.lan>2020-09-06 16:48:05 +0100
commite4640e28c8449eea66392052bfab57ce0cdd27f9 (patch)
tree2be81b55bc37da60599f4e6d434e74a57694962e /tmux.conf-alt
first commit
Diffstat (limited to 'tmux.conf-alt')
-rw-r--r--tmux.conf-alt29
1 files changed, 29 insertions, 0 deletions
diff --git a/tmux.conf-alt b/tmux.conf-alt
new file mode 100644
index 0000000..e9faf85
--- /dev/null
+++ b/tmux.conf-alt
@@ -0,0 +1,29 @@
+set -g default-terminal "screen-256color"
+
+# vi-like keybindings
+setw -g mode-keys vi
+bind h select-pane -L
+bind j select-pane -D
+bind k select-pane -U
+bind l select-pane -R
+bind-key -T copy-mode-vi 'v' send -X begin-selection
+bind-key -T copy-mode-vi 'y' send -X copy-selection
+
+# zenburn theme
+setw -g clock-mode-colour colour117
+setw -g mode-attr bold
+setw -g mode-fg colour117
+setw -g mode-bg colour238
+set -g status-bg colour235
+set -g status-fg colour248
+setw -g window-status-current-fg colour223
+setw -g window-status-current-bg colour237
+setw -g window-status-current-attr bold
+set -g message-attr bold
+set -g message-fg colour117
+set -g message-bg colour235
+
+# fancy status line: user@host, date, time
+set-option -g status-right "#(whoami)@#(hostname -s) #[fg=colour187,bold]%a %Y-%m-%d %H:%M"
+set -g status-right-length 50
+set -g status-left-length 20