AutoYADM commit: 2025-07-26 13:24:42

This commit is contained in:
Daniel Fichtinger 2025-07-26 13:24:42 -04:00
parent 89a1b92ee3
commit 4045770952
2 changed files with 16 additions and 3 deletions

View file

@ -49,3 +49,14 @@ define-command regswap -params 2 %{
execute-keys -draft '"xZZs\Q<c-r>a\E<ret>"cZzs\Q<c-r>b\E<ret>"dZ"cz"bR"dz"aRz'
}
}
define-command pastes %{
evaluate-commands -draft -save-regs '"a|' %{
execute-keys '"ay'
edit -scratch
set-register | 'ssh pastes.sh 2>/dev/null'
execute-keys '"a<a-R>%|<ret>%s\r<ret>d%"ay'
echo -debug %reg{a}
delete-buffer
}
}