1

I want to open a recently used file in Gedit using the keyboard. How do I do that?

The best workaround I've found is to press Ctrl+Shift+Tab a few times to scroll through the buttons, but that's a pain.

I checked the keyboard shortcuts in the app but didn't see anything. The online shortcut keys page says "Open the Quick Open window Alt+O", but that does the same thing as Ctrl+O, so that seems to be wrong or outdated.

I tried holding Alt to access the title bar buttons by letter, but there doesn't seem to be any letter mapped to the recent files button (as opposed to Alt+O, which maps to the "Open" button).

I found F10 to open the hamburger menu, but there's doesn't seem to be a way to get from there to the other title bar buttons.

If it's relevant, I'm using 20.04.

wjandrea
  • 14,236
  • 4
  • 48
  • 98

2 Answers2

2

I ended up using the Quick Open plugin. It's installed by default, so simply enable it in the Plugins tab, then press Ctrl+Alt+O. It also lets you search, which is handy.

There doesn't seem to be a keyboard shortcut to open the recent files list. I found a merge request to add one, from three years ago, but it was closed.

wjandrea
  • 14,236
  • 4
  • 48
  • 98
0

There is no direct shortcut key indeed. You can use:

  1. Ctrl+O
  2. Left to enter the sidebar
  3. Home, Enter to open the "Recent" list
  4. Right to leave the sidebar

Now you can type part of the name or select a recent file using the arrow keys.

wjandrea
  • 14,236
  • 4
  • 48
  • 98
vanadium
  • 88,010
  • That's not what I'm looking for, though other folks might find it useful. I only want to see the files I've opened in Gedit, and avoid opening non-text files like PNGs, which Gedit will happily open but maybe freeze/lag in the process. Also, if I do a search in that list then press Esc to close the search box, it actually leaves the list and goes back to the last folder. Lastly, one file that I opened in Gedit doesn't even show in that list, strangely enough. – wjandrea May 02 '23 at 15:26