diff --git a/.tmux.conf b/.tmux.conf index cde7174..f1b7b75 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -889,14 +889,14 @@ run 'cut -c3- "$TMUX_CONF" | sh -s _apply_configuration' # perl -p -i -e " # s/\bnew-window\b(?!\s+(?:-|}))/{$&}/g if /\bdisplay-menu\b/ # ; -# s/\bnew-window\b/new-window -c '#{pane_current_path}'\1/g +# s/\bnew-window\b/new-window -c '#{pane_current_path}'/g # ; # s/\brun-shell\b\s+'cut\s+-c3-\s+(.+?)\s+\|\s+sh\s+-s\s+_new_window(_ssh)?\s+#\{pane_pid\}\s+#\{b:pane_tty\}([^}\n']*)'/run-shell 'cut -c3- \1 | sh -s _new_window\2 #\{pane_pid\} #\{b:pane_tty\} -c \\\\\"#\{pane_current_path\}\\\\\"\3'/g if /\bdisplay-menu\b/ # ; # s/\brun-shell\b\s+'cut\s+-c3-\s+(.+?)\s+\|\s+sh\s+-s\s+_new_window(_ssh)?\s+#\{pane_pid\}\s+#\{b:pane_tty\}([^}\n']*)'/run-shell 'cut -c3- \1 | sh -s _new_window\2 #\{pane_pid\} #\{b:pane_tty\} -c \"#\{pane_current_path\}\"\3'/g" \ # "$cfg" # fi - +# # tmux_conf_new_pane_retain_current_path=${tmux_conf_new_pane_retain_current_path:-true} # if ! _is_disabled "$tmux_conf_new_pane_retain_current_path"; then # perl -p -i -e " @@ -931,13 +931,24 @@ run 'cut -c3- "$TMUX_CONF" | sh -s _apply_configuration' # # tmux_conf_new_session_prompt=${tmux_conf_new_session_prompt:-false} # if ! _is_disabled "$tmux_conf_new_session_prompt" && _is_true "$tmux_conf_new_session_prompt"; then -# perl -p -i \ -# -e "s/(?