alfred-python-format simple do 'balabala-{foo}:{bar}' to 'balabala-{foo}:{bar}'.format(foo=foo, bar=bar) step 1: select target string step 2: press the hot key done If you want to contribute to this project, please also modify the Python source code at the same time