summaryrefslogtreecommitdiff
path: root/tmux
diff options
context:
space:
mode:
authorPatrick Simianer <pks@pks.rocks>2018-10-30 12:01:45 +0100
committerPatrick Simianer <pks@pks.rocks>2018-10-30 12:01:45 +0100
commitb24156c1e59ab014c6589f69ad853a43a208c686 (patch)
tree262123b1123304f2415bbd6176c5e30b2045f0f7 /tmux
parentf5c8d5bb557b6fbcfced9d337ab80377aa3fdfe7 (diff)
tmux
Diffstat (limited to 'tmux')
-rw-r--r--tmux/.tmux.default.conf36
-rw-r--r--tmux/.tmux.uberspace.conf36
2 files changed, 72 insertions, 0 deletions
diff --git a/tmux/.tmux.default.conf b/tmux/.tmux.default.conf
new file mode 100644
index 0000000..23141ed
--- /dev/null
+++ b/tmux/.tmux.default.conf
@@ -0,0 +1,36 @@
+# 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 :+
+
+# act like GNU screen
+unbind C-b
+set -g prefix C-a
+
+# look good
+set -g default-terminal "screen-256color"
+
+# status
+set -g status-left-length 32
+set -g status-right-length 150
+set -g status-fg white
+set -g status-bg colour234
+set -g window-status-activity-attr bold
+set -g pane-border-fg colour245
+set -g pane-active-border-fg white
+set -g message-fg colour16
+set -g message-bg colour221
+set -g message-attr bold
+set -g status-left ''
+set -g status-right '#[fg=black,bg=white] #H:#[bold]#S '
+set-option -g set-titles on
+set -g set-titles-string '#T -- #W'
+set-window-option -g automatic-rename on
+set-option -g status-interval 1
+set-option -g status-utf8 on
+set-window-option -g utf8 on
+
diff --git a/tmux/.tmux.uberspace.conf b/tmux/.tmux.uberspace.conf
new file mode 100644
index 0000000..ac7d751
--- /dev/null
+++ b/tmux/.tmux.uberspace.conf
@@ -0,0 +1,36 @@
+# 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 :+
+
+# act like GNU screen
+unbind C-b
+set -g prefix C-a
+
+# look good
+set -g default-terminal "screen-256color"
+
+# status
+set -g status-left-length 32
+set -g status-right-length 150
+set -g status-fg white
+set -g status-bg colour234
+set -g window-status-activity-attr bold
+set -g pane-border-fg colour245
+set -g pane-active-border-fg green
+set -g message-fg colour16
+set -g message-bg colour221
+set -g message-attr bold
+set -g status-left ''
+set -g status-right '#[fg=black,bg=green] #H:#[bold]#S '
+set-option -g set-titles on
+set -g set-titles-string '#T -- #W'
+set-window-option -g automatic-rename on
+set-option -g status-interval 1
+set-option -g status-utf8 on
+set-window-option -g utf8 on
+