If you work with strings in your Python scripts and you're writing obscure logic to process them, then you need to look into ...
You can pick a custom keyboard shortcut, and you can decide to simply press that shortcut instead of pressing and holding it.