AutoYADM commit: 2025-06-23 14:35:15

This commit is contained in:
Daniel Fichtinger 2025-06-23 14:35:15 -04:00
parent 9c222dd7df
commit dc956a9ae8

View file

@ -19,6 +19,7 @@ define-command -hidden autowrap-cursor %{ evaluate-commands -save-regs '/"|^@m'
reg m "%val{selections_desc}"
## if we're adding characters past the limit, just wrap them around
## DANIEL: added <esc>ghH<a-&> to preserve prev line indent when wrapping.
execute-keys -draft "<a-h><a-k>.{%opt{autowrap_column}}\h*[^\s]*<ret>1s(\h+)[^\h]*\z<ret>c<ret><esc>ghH<a-&>"
} catch %{
## if we're adding characters in the middle of a sentence, use