If you are like me and sometimes want things done without typing this will be useful.
Go to your home folder and press CTRL-h. It will show you all the hidden files. Next, go to .local/share/nautilus and you will see a scripts folder. All the files you put on this folder and make executable will show if you click a file with right mouse click on a menu called Scripts on nautilus.
So all you have to do is make a bash script and put it in this scripts directory and chmod +x the_script.
You can also name your script like "Open in Terminal".
For instance, I created a script to open a file in the micro editor (you have to install tilix) like this:
tilix -e micro $1