Make tmux split exactly 50%

This commit is contained in:
Ian Ker-Seymer 2014-11-11 17:08:38 -07:00
parent 000c376aab
commit 33b781523d

View File

@ -8,10 +8,10 @@ set -g default-terminal screen-256color
bind-key ^D detach-client
# Create splits and vertical splits
bind-key v split-window -h -c "#{pane_current_path}"
bind-key ^V split-window -h -c "#{pane_current_path}"
bind-key s split-window -c "#{pane_current_path}"
bind-key ^S split-window -c "#{pane_current_path}"
bind-key v split-window -h -p 50 -c "#{pane_current_path}"
bind-key ^V split-window -h -p 50 -c "#{pane_current_path}"
bind-key s split-window -c -p 50 "#{pane_current_path}"
bind-key ^S split-window -c -p 50 "#{pane_current_path}"
# Pane resize in all four directions using vi bindings.
# Can use these raw but I map them to shift-ctrl-<h,j,k,l> in iTerm.