summaryrefslogtreecommitdiffstats
path: root/docker/tmux-config
diff options
context:
space:
mode:
authorHolger Cremer <HolgerCremer@gmail.com>2018-08-26 19:34:41 +0200
committerHolger Cremer <HolgerCremer@gmail.com>2018-08-26 19:34:41 +0200
commit0513f59f10eb2b60ecb32cb68f7add19ec623177 (patch)
treec333c9422532f198057647ad22a54e2da848112b /docker/tmux-config
parentb0b79db354a2bb89009e206b0fa19f810a816cec (diff)
downloadserial-barcode-scanner-0513f59f10eb2b60ecb32cb68f7add19ec623177.tar.bz2
updates the docker configuration for the new project layout
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