tmux: Open new windows in current working dir

This commit is contained in:
2022-02-17 15:28:28 +01:00
parent fafc7e1bef
commit eedcb277fb

View File

@@ -11,9 +11,12 @@ bind-key C-a send-prefix
# Split panes with > and <
unbind %
bind-key < split-window -v
bind-key < split-window -v -c "#{pane_current_path}"
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>
bind -n M-Left select-pane -L