made _apply_bindings() work with tmux 3.4 stock bindings, fixes #541
This commit is contained in:
parent
985d64c82e
commit
96d085eaa7
|
@ -744,7 +744,7 @@ run 'cut -c3- ~/.tmux.conf | sh -s _apply_configuration'
|
||||||
# tmux_conf_new_window_retain_current_path=${tmux_conf_new_window_retain_current_path:-false}
|
# tmux_conf_new_window_retain_current_path=${tmux_conf_new_window_retain_current_path:-false}
|
||||||
# if _is_enabled "$tmux_conf_new_window_retain_current_path"; then
|
# if _is_enabled "$tmux_conf_new_window_retain_current_path"; then
|
||||||
# perl -p -i -e "
|
# perl -p -i -e "
|
||||||
# s/\bnew-window\b(?!\s+-)/{$&}/g if /\bdisplay-menu\b/
|
# s/\bnew-window\b(?!\s+(?:-|}))/{$&}/g if /\bdisplay-menu\b/
|
||||||
# ;
|
# ;
|
||||||
# s/\bnew-window\b/new-window -c '#\{pane_current_path\}'/g" \
|
# s/\bnew-window\b/new-window -c '#\{pane_current_path\}'/g" \
|
||||||
# "$cfg"
|
# "$cfg"
|
||||||
|
@ -762,7 +762,7 @@ run 'cut -c3- ~/.tmux.conf | sh -s _apply_configuration'
|
||||||
#
|
#
|
||||||
# if _is_enabled "$tmux_conf_new_pane_retain_current_path"; then
|
# if _is_enabled "$tmux_conf_new_pane_retain_current_path"; then
|
||||||
# perl -p -i -e "
|
# perl -p -i -e "
|
||||||
# s/\bsplit-window\b(?!\s+-)/{$&}/g if /\bdisplay-menu\b/
|
# s/\bsplit-window\b(?!\s+(?:-|}))/{$&}/g if /\bdisplay-menu\b/
|
||||||
# ;
|
# ;
|
||||||
# s/\bsplit-window\b/split-window -c '#{pane_current_path}'\1/g
|
# s/\bsplit-window\b/split-window -c '#{pane_current_path}'\1/g
|
||||||
# ;
|
# ;
|
||||||
|
@ -775,7 +775,7 @@ run 'cut -c3- ~/.tmux.conf | sh -s _apply_configuration'
|
||||||
# tmux_conf_new_session_prompt=${tmux_conf_new_session_prompt:-false}
|
# tmux_conf_new_session_prompt=${tmux_conf_new_session_prompt:-false}
|
||||||
# if _is_enabled "$tmux_conf_new_session_prompt"; then
|
# if _is_enabled "$tmux_conf_new_session_prompt"; then
|
||||||
# perl -p -i \
|
# perl -p -i \
|
||||||
# -e "s/(?<!command-prompt -p )\b(new-session)\b(?!\s+-)/{$&}/g if /\bdisplay-menu\b/" \
|
# -e "s/(?<!command-prompt -p )\b(new-session)\b(?!\s+(?:-|}))/{$&}/g if /\bdisplay-menu\b/" \
|
||||||
# -e ';' \
|
# -e ';' \
|
||||||
# -e "s/(?<!\bcommand-prompt -p )\bnew-session\b(?! -s)/command-prompt -p new-session 'new-session -s \"%%\"'/g" \
|
# -e "s/(?<!\bcommand-prompt -p )\bnew-session\b(?! -s)/command-prompt -p new-session 'new-session -s \"%%\"'/g" \
|
||||||
# "$cfg"
|
# "$cfg"
|
||||||
|
|
Loading…
Reference in New Issue