summaryrefslogtreecommitdiff
path: root/tmux/tmux.conf
diff options
context:
space:
mode:
Diffstat (limited to 'tmux/tmux.conf')
-rw-r--r--tmux/tmux.conf30
1 files changed, 30 insertions, 0 deletions
diff --git a/tmux/tmux.conf b/tmux/tmux.conf
new file mode 100644
index 0000000..d421349
--- /dev/null
+++ b/tmux/tmux.conf
@@ -0,0 +1,30 @@
+# improve colors
+set -g default-terminal "screen-256color"
+
+# change status bar color to black and white
+set -g status-bg "#000000"
+set -g status-fg "#c5c6c4"
+
+# remove administrative debris (session-name, hostname, time) in status bar
+set -g status-left ''
+set -g status-right '#{battery_status_bg} Batt: #{battery_icon} #{battery_percentage} #{battery_remain}'
+
+# act live dvtm
+unbind C-b
+set -g prefix C-z
+
+# act like vim
+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 -r C-h select-window -t :-
+bind-key -r C-l select-window -t :+
+
+set -g @plugin 'tmux-plugins/tpm'
+set -g @plugin 'tmux-plugins/tmux-sensible'
+set -g @plugin 'https://git.linux-help.org/psi-jack/tmux-indicators'
+set -g @plugin 'tmux-plugins/tmux-battery'
+
+run '/usr/share/tmux-plugin-manager/tpm'