AutoYADM commit: 2025-06-23 14:35:15
This commit is contained in:
parent
9c222dd7df
commit
dc956a9ae8
1 changed files with 1 additions and 0 deletions
|
@ -19,6 +19,7 @@ define-command -hidden autowrap-cursor %{ evaluate-commands -save-regs '/"|^@m'
|
||||||
reg m "%val{selections_desc}"
|
reg m "%val{selections_desc}"
|
||||||
|
|
||||||
## if we're adding characters past the limit, just wrap them around
|
## 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-&>"
|
execute-keys -draft "<a-h><a-k>.{%opt{autowrap_column}}\h*[^\s]*<ret>1s(\h+)[^\h]*\z<ret>c<ret><esc>ghH<a-&>"
|
||||||
} catch %{
|
} catch %{
|
||||||
## if we're adding characters in the middle of a sentence, use
|
## if we're adding characters in the middle of a sentence, use
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue