Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question
    
Actually, gedit will not automatically reload file if the file is located in network (sharing file). In my case, the file is share on MS-OS machine, accessed through smb connection. In this situation, reload or refresh button will be usefull, to tell gedit to reopen the file with single click, without the need to click file, click close and than click the name of the file in history (three times click). The drawback is, during the work, reload/refresh button can be accidentally clicked, destroying un-save work. Perhaps, additional prompt, "are you sure" can prevent that. –  user115723 Jan 28 '12 at 14:45
add comment

3 Answers 3

Not forced reloading, but revert to last saved version. File/Revert. The keystroke combination is Alt-R, R, Alt-R.

share|improve this answer
add comment

This functionality is not yet present in Gedit, but it's on the Requested plugins list

share|improve this answer
add comment

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.

share|improve this answer
    
I assume he's annoyed about having to aim-and-click the "Reload" button in the GUI, and would rather use a keyboard shortcut for doing that action. It currently takes 7 tabs or 2 shift-tabs and an enter to switch to the correct button - a direct shortcut would be much more comfortable. –  Ilari Kajaste Jul 29 '10 at 16:46
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.