Fix tmux.conf

Fix tmux "open new pane in current path" option.
This commit is contained in:
Andre Azevedo 2015-08-24 15:58:01 -07:00
parent 997d36bef9
commit ef2156144f

View File

@ -8,10 +8,10 @@ set -g default-terminal screen-256color
bind-key ^D detach-client bind-key ^D detach-client
# Create splits and vertical splits # Create splits and vertical splits
bind-key v split-window -h -p 50 -c "#{pane_current_path}" bind-key v split-window -h -p 50 -F "#{pane_current_path}"
bind-key ^V split-window -h -p 50 -c "#{pane_current_path}" bind-key ^V split-window -h -p 50 -F "#{pane_current_path}"
bind-key s split-window -p 50 -c "#{pane_current_path}" bind-key s split-window -p 50 -F "#{pane_current_path}"
bind-key ^S split-window -p 50 -c "#{pane_current_path}" bind-key ^S split-window -p 50 -F "#{pane_current_path}"
# Pane resize in all four directions using vi bindings. # 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. # Can use these raw but I map them to shift-ctrl-<h,j,k,l> in iTerm.
@ -77,7 +77,7 @@ bind C-a last-window
set -g history-limit 10000 set -g history-limit 10000
# New windows/pane in $PWD # New windows/pane in $PWD
bind c new-window -c "#{pane_current_path}" bind c new-window -F "#{pane_current_path}"
# force a reload of the config file # force a reload of the config file
unbind r unbind r