tmux: Place new window after the current one

This commit is contained in:
2023-07-10 16:02:31 +02:00
parent f193e0071d
commit 58297ce697

View File

@@ -51,8 +51,8 @@ bind < splitw -v -c "#{pane_current_path}"
unbind '"'
bind > splitw -h -c "#{pane_current_path}"
# Create new window in current path
bind c neww -c "#{pane_current_path}"
# Create new window with CWD as PWD and place it after the current one
bind c neww -a -c "#{pane_current_path}" -t #{active_window_index}
# Resource config
bind R source-file "$XDG_CONFIG_HOME/tmux/tmux.conf" \; \