I am using GEDIT and I would like to have a shortcut key that allows me to tell GEDIT (on Ubuntu) to force reloading from file system the currently opened file.
How can I do that?
I am using GEDIT and I would like to have a shortcut key that allows me to tell GEDIT (on Ubuntu) to force reloading from file system the currently opened file.
How can I do that?
Not forced reloading, but revert to last saved version. File/Revert.
The keystroke combination is Alt - R, R, Alt - R.
This functionality is not yet present in Gedit, but it's on the Requested plugins list
What are you trying to accomplish? If an external program touches the file, gedit will already notice that and offers to reload the file. This is the case at least with Ubuntu 10.04 LTS.
If you want to undo all the changes instead, the already mentioned File->Revert gives you the latest saved version.
Try this for gedit 3.8+: https://github.com/raelgc/gedit-restore-tabs, said by author:
Upon starting Gedit, this plugin will try restore all open documents from the last Gedit window that was closed.