It is troublesome to write the same file name every time from editing to execution
terminal
vim test.py
python !$
If you execute with, you can refer to test.py with! $ , Which is convenient.
Useful when the directory is far, such as ../ or after an absolute reference.
! $ Since it was the last reference, if you want to refer to file2 of'ls file1 file2 file3', you can do it with!: 2
Recommended Posts