summaryrefslogtreecommitdiff
path: root/tmux/.tmux
diff options
context:
space:
mode:
Diffstat (limited to 'tmux/.tmux')
-rw-r--r--tmux/.tmux/aws.conf5
-rw-r--r--tmux/.tmux/common.conf34
-rw-r--r--tmux/.tmux/default.conf5
-rw-r--r--tmux/.tmux/gcloud.conf5
-rw-r--r--tmux/.tmux/uberspace.conf5
5 files changed, 54 insertions, 0 deletions
diff --git a/tmux/.tmux/aws.conf b/tmux/.tmux/aws.conf
new file mode 100644
index 0000000..4ea910f
--- /dev/null
+++ b/tmux/.tmux/aws.conf
@@ -0,0 +1,5 @@
+source-file ~/.tmux/common.conf
+
+set -g status-bg yellow
+set -g status-fg black
+
diff --git a/tmux/.tmux/common.conf b/tmux/.tmux/common.conf
new file mode 100644
index 0000000..5de73ad
--- /dev/null
+++ b/tmux/.tmux/common.conf
@@ -0,0 +1,34 @@
+# 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-left ''
+set -g status-right '#[fg=white,bg=black] #S '
+set-option -g set-titles on
+# #H Hostname of local host
+# #I Current window index
+# #P Current pane index
+# #S Session name
+# #T Current window title
+# #W Current window name
+# ## A literal ‘#’
+set -g set-titles-string '#T -- #W'
+set-window-option -g automatic-rename on
+set-option -g status-interval 1
+set-option -g history-limit 10000
+
diff --git a/tmux/.tmux/default.conf b/tmux/.tmux/default.conf
new file mode 100644
index 0000000..1abb019
--- /dev/null
+++ b/tmux/.tmux/default.conf
@@ -0,0 +1,5 @@
+source-file ~/.tmux/common.conf
+
+set -g status-bg white
+set -g status-fg black
+
diff --git a/tmux/.tmux/gcloud.conf b/tmux/.tmux/gcloud.conf
new file mode 100644
index 0000000..7270636
--- /dev/null
+++ b/tmux/.tmux/gcloud.conf
@@ -0,0 +1,5 @@
+source-file ~/.tmux/common.conf
+
+set -g status-bg blue
+set -g status-fg white
+
diff --git a/tmux/.tmux/uberspace.conf b/tmux/.tmux/uberspace.conf
new file mode 100644
index 0000000..e5b3cd5
--- /dev/null
+++ b/tmux/.tmux/uberspace.conf
@@ -0,0 +1,5 @@
+source-file ~/.tmux/common.conf
+
+set -g status-bg green
+set -g status-fg black
+