summaryrefslogtreecommitdiff
path: root/tmux
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2022-10-05 22:00:32 -0500
committerzachir <zachir@librem.one>2022-10-05 22:00:32 -0500
commitf39d735e2ba625a31a7dbf6fb8bdd62501379ad1 (patch)
treed17c96714c930e0b8bc75616cc9c81b961ed5aa0 /tmux
Initial Commit
Diffstat (limited to 'tmux')
-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'