spell.kak: Replace "kak -f" with "sed" for efficiency.
This commit is contained in:
parent
f75f484b84
commit
93e5a3b51f
|
@ -152,7 +152,7 @@ define-command \
|
|||
fi
|
||||
printf %s "$kak_selection" |
|
||||
eval "aspell -a $options" |
|
||||
kak -f '<a-s><a-K>^&<ret>d%s^[^:]*: <ret>d%s, <ret>c<ret><esc>'
|
||||
sed -n -e '/^&/ { s/^[^:]*: //; s/, /\n/g; p }'
|
||||
} \
|
||||
"Replace with: " \
|
||||
%{
|
||||
|
|
Loading…
Reference in New Issue
Block a user