# surround define-command -hidden -params 1 xml-surround-add-impl %~ evaluate-commands -save-regs 'a' -no-hooks %^ set-register a %arg{1} execute-keys -draft '_iaa/a' ^ ~ define-command -hidden -params 1 xml-surround-remove-impl %~ evaluate-commands -save-regs 'a"' -no-hooks %^ set-register a %arg{1} execute-keys -save-regs '"' -draft 'ad//ad' ^ ~