about summary refs log tree commit diff stats
path: root/core/conf/skel/.tmux.conf
diff options
context:
space:
mode:
authorSilvino Silva <silvino@bk.ru>2016-08-22 16:35:00 +0100
committerSilvino Silva <silvino@bk.ru>2016-08-22 20:08:05 +0100
commit1ac5f126bf1b3f2e18001dab8b9f2ae6255309cf (patch)
tree0383468088621583e29e1e8be1fdeeceb3ec0d14 /core/conf/skel/.tmux.conf
parent05c1ad5f7378e421f8ea06fb55e44ec773f0f055 (diff)
downloaddoc-1ac5f126bf1b3f2e18001dab8b9f2ae6255309cf.tar.gz
first doc core os revision
Diffstat (limited to 'core/conf/skel/.tmux.conf')
-rw-r--r--core/conf/skel/.tmux.conf25
1 files changed, 25 insertions, 0 deletions
diff --git a/core/conf/skel/.tmux.conf b/core/conf/skel/.tmux.conf
new file mode 100644
index 0000000..795aff6
--- /dev/null
+++ b/core/conf/skel/.tmux.conf
@@ -0,0 +1,25 @@
+set -g default-terminal "screen-256color"
+
+set-window-option -g mode-keys vi
+
+# Vim style
+# copy tmux's selection buffer into the primary X selection with PREFIX+CTRL+Y
+bind-key u run "tmux save-buffer - | xsel -ib"
+# copy primary X selection into tmux's selection buffer with PREFIX+CTRL+P
+bind-key e run "xsel -o | tmux load-buffer -"
+
+bind-key -t vi-copy 'v' begin-selection
+bind-key -t vi-copy 'y' copy-selection
+
+set-option -g set-titles on
+set-option -g set-titles-string '#S> #I.#P #W'
+
+set -g visual-activity on
+set -g monitor-activity on
+set -g visual-bell on
+set -g bell-action any
+
+## Join windows: <prefix> s, <prefix> j
+bind-key j command-prompt -p "join pane from:"  "join-pane -s '%%'"
+bind-key s command-prompt -p "send pane to:"  "join-pane -t '%%'"
+