tmux: Open new windows in current working dir
This commit is contained in:
@@ -11,9 +11,12 @@ bind-key C-a send-prefix
|
|||||||
|
|
||||||
# Split panes with > and <
|
# Split panes with > and <
|
||||||
unbind %
|
unbind %
|
||||||
bind-key < split-window -v
|
bind-key < split-window -v -c "#{pane_current_path}"
|
||||||
unbind '"'
|
unbind '"'
|
||||||
bind-key > split-window -h
|
bind-key > split-window -h -c "#{pane_current_path}"
|
||||||
|
|
||||||
|
# Create new window in current path
|
||||||
|
bind-key -T prefix c new-window -c "#{pane_current_path}"
|
||||||
|
|
||||||
# Change panes with Alt-<arrow>
|
# Change panes with Alt-<arrow>
|
||||||
bind -n M-Left select-pane -L
|
bind -n M-Left select-pane -L
|
||||||
|
|||||||
Reference in New Issue
Block a user