summaryrefslogtreecommitdiffstats
path: root/docker/tmux-config
diff options
context:
space:
mode:
authorHolger Cremer <HolgerCremer@gmail.com>2018-08-27 19:38:11 +0200
committerHolger Cremer <HolgerCremer@gmail.com>2018-08-27 19:38:11 +0200
commit8f2ba2050ee78d0e4a47f1277c6bc4422d06170c (patch)
treec008d2878905e03df7a8bf8bd3330762cc2d8f43 /docker/tmux-config
parentbb55e121576a5b5d225bfc68c5062f386cc32db9 (diff)
parent3fc3ea6c6df237dbdf48d14703118b747bf5d647 (diff)
downloadserial-barcode-scanner-8f2ba2050ee78d0e4a47f1277c6bc4422d06170c.tar.bz2
Merge branch 'master' into better_inventory
Conflicts: README data/templates/products/entry.html docker/Dockerfile docker/init.sh src/database/database.vala src/database/db-interface.vala src/pdf-stock/Makefile src/pdf-stock/pdf-stock-interface.vala src/pdf-stock/pdf-stock.vala src/web/Makefile src/web/main.vala templates/menu.html templates/products/index.html
Diffstat (limited to 'docker/tmux-config')
-rw-r--r--docker/tmux-config11
1 files changed, 8 insertions, 3 deletions
diff --git a/docker/tmux-config b/docker/tmux-config
index f70a089..0fd3635 100644
--- a/docker/tmux-config
+++ b/docker/tmux-config
@@ -3,11 +3,17 @@ set -g prefix C-a
unbind C-b
bind C-a send-prefix
+# reload ~/.tmux.conf using PREFIX r
+bind r source-file ~/.tmux.conf \; display "Reloaded!"
+
# scroll mode with s
bind s copy-mode
+# scroll also with mouse
+# Problem: can't select text anymore
+#set -g mode-mouse on
# use windows like tabs (S means shift key)
-bind -n S-down new-window
+bind -n S-down new-window -c "#{pane_current_path}"
bind -n S-left prev
bind -n S-right next
@@ -18,7 +24,6 @@ set -g base-index 1
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
@@ -26,4 +31,4 @@ 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
+set-option -g message-fg brightred #orange \ No newline at end of file