diff --git a/rc/tools/spell.kak b/rc/tools/spell.kak index db8e9dafd..b9fe59036 100644 --- a/rc/tools/spell.kak +++ b/rc/tools/spell.kak @@ -152,7 +152,7 @@ define-command \ fi printf %s "$kak_selection" | eval "aspell -a $options" | - kak -f '^&d%s^[^:]*: d%s, c' + sed -n -e '/^&/ { s/^[^:]*: //; s/, /\n/g; p }' } \ "Replace with: " \ %{