summaryrefslogtreecommitdiffstats
path: root/docker/tmux-config
diff options
context:
space:
mode:
authorSebastian Reichel <sre@ring0.de>2018-05-18 16:12:00 +0200
committerGitHub <noreply@github.com>2018-05-18 16:12:00 +0200
commitfff5d7f6f14c4b547a92f3c262420d1bdaa5d17f (patch)
treee299acbfdc5843b7bf1e33aac7c41f6246adc89b /docker/tmux-config
parente7fc5bf0b771f308af2046e258ce3d44c2154809 (diff)
parentc53fc74bb87189aaf46d19ab6909f435a7bb6a27 (diff)
downloadserial-barcode-scanner-fff5d7f6f14c4b547a92f3c262420d1bdaa5d17f.tar.bz2
Merge pull request #31 from smilix/master
Adds docker
Diffstat (limited to 'docker/tmux-config')
-rw-r--r--docker/tmux-config29
1 files changed, 29 insertions, 0 deletions
diff --git a/docker/tmux-config b/docker/tmux-config
new file mode 100644
index 0000000..f70a089
--- /dev/null
+++ b/docker/tmux-config
@@ -0,0 +1,29 @@
+# remap prefix to Control + a
+set -g prefix C-a
+unbind C-b
+bind C-a send-prefix
+
+# scroll mode with s
+bind s copy-mode
+
+# use windows like tabs (S means shift key)
+bind -n S-down new-window
+bind -n S-left prev
+bind -n S-right next
+
+# Start numbering at 1
+set -g base-index 1
+
+# COLORS!
+set -g default-terminal "screen-256color"
+
+# status line
+set -g status-utf8 on
+set -g status-fg white
+set -g status-bg blue
+set -g window-status-current-bg white
+set -g window-status-current-fg blue
+
+# colorize messages in the command line
+set-option -g message-bg black #base02
+set-option -g message-fg brightred #orange