summaryrefslogtreecommitdiffstats
path: root/docker/tmux-config
diff options
context:
space:
mode:
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