porcupine
porcupine copied to clipboard
Repeat command without resubstituting
I often run something like python3 {file_name}.py
, get an error, and then fix the problem that caused the error in some other file. To check if the error is gone, I then have to go back to the original file to repeat the command. It would be nice to press e.g. Ctrl+F5 or Alt+F5 to repeat the command exactly like it was: same working directory, same {file_name}
, and so on.
This kind of repeating should also ignore the current file type so that I can edit a .txt
file while working on a Python script.