summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franckcuny@gmail.com>2016-01-28 10:19:08 -0800
committerFranck Cuny <franckcuny@gmail.com>2016-01-28 10:19:08 -0800
commit510df3becea8f161bbc5de95df426dcb2f145220 (patch)
treedc344bbab0799139bda1913ed278ba7b01e81555
parent[bash] cleanup basic configuration. (diff)
downloademacs.d-510df3becea8f161bbc5de95df426dcb2f145220.tar.gz
[tmux] try a new binding to split windows.
Use binding similar to Emacs to split the windows (using 2 and 3).
Diffstat (limited to '')
-rw-r--r--tmux.conf8
1 files changed, 5 insertions, 3 deletions
diff --git a/tmux.conf b/tmux.conf
index 5e9d2b1..5b2afff 100644
--- a/tmux.conf
+++ b/tmux.conf
@@ -4,8 +4,10 @@ unbind C-b
 set -g mouse-select-pane on
 setw -g aggressive-resize on
 
-bind | split-window -h
-bind - split-window -v
-
+# emacs binding
 set -gw mode-keys emacs
+bind 2 split-window -v
+bind 3 split-window -h
+
+# status
 set -g status on