Gedit Keyboard Shortcuts: The Complete List
Gedit is the default graphical text editor for the GNOME desktop, built on the GTK toolkit and used across most major Linux distributions, including Ubuntu, Fedora, and Linux Mint. It is also available for Windows and Mac. The fastest way to work in Gedit is to stay on the keyboard. Below is a full, verified list of Gedit keyboard shortcuts, organized by task, along with answers to the most common Gedit questions and a free downloadable PDF.
The five shortcuts most people search for first are Ctrl+D to delete a line, Ctrl+H to find and replace, Ctrl+Shift+S to save as, Ctrl+I to jump to a specific line, and Ctrl+Alt+PageUp/PageDown to switch between open tabs.
What Is Gedit
Gedit is a lightweight, general-purpose text editor with a clean graphical interface. It supports syntax highlighting for source code, multiple tabs, split panes, and a plugin system for extending its default behavior. It ships as the standard text editor on many GNOME-based Linux systems, and it is often compared to Notepad, Notepad++, and Vim, though it sits closer to Notepad++ in terms of ease of use.
Top 10 Essential Gedit Shortcuts
Start here if you only want the shortcuts you’ll actually use every day.
| Action | Shortcut |
| Save file | Ctrl + S |
| Save file as | Ctrl + Shift + S |
| Find text | Ctrl + F |
| Find and replace | Ctrl + H |
| Delete current line | Ctrl + D |
| Undo | Ctrl + Z |
| Redo | Ctrl + Shift + Z |
| Switch to next tab | Ctrl + Alt + Page Down |
| Switch to previous tab | Ctrl + Alt + Page Up |
| Go to a specific line | Ctrl + I |
Selection & Editing Shortcuts
| Action | Gedit Shortcut |
| Copy selection | Ctrl + C |
| Paste | Ctrl + V |
| Cut selection | Ctrl + X |
| Undo | Ctrl + Z |
| Redo | Ctrl + Shift + Z |
| Select all | Ctrl + A |
| Delete current line | Ctrl + D |
| Move to beginning of line | Home |
| Move to end of line | End |
| Move to beginning of document | Ctrl + Home |
| Move to end of document | Ctrl + End |
| Move cursor one word right | Alt + Right |
| Move cursor one word left | Alt + Left |
| Move current line up | Alt + Up |
| Move current line down | Alt + Down |
| Add a tab stop / indent | Tab |
| Remove a tab stop / unindent | Shift + Tab |
Formatting & Case Shortcuts
These are among the most useful Gedit shortcuts that most guides leave out. They let you reformat selected text without touching the mouse.
| Action | Gedit Shortcut |
| Convert selection to uppercase | Ctrl + U |
| Convert selection to lowercase | Ctrl + L |
| Toggle case of selection | Ctrl + ~ |
File & Program Shortcuts
| Action | Gedit Shortcut |
| New file | Ctrl + N |
| New document in a new tab | Ctrl + T |
| Open file | Ctrl + O |
| Open the Quick Open window | Alt + O |
| Save file | Ctrl + S |
| Save the file as… | Ctrl + Shift + S |
| Ctrl + P | |
| Print preview | Ctrl + Shift + P |
| Close current document | Ctrl + W |
| Open the file menu | F10 |
| Show or hide the side pane | F9 |
| Show or hide the bottom pane | Ctrl + F9 |
| Fullscreen view | F11 |
| Help | F1 |
| Quit program | Ctrl + Q |
Search & Replace Shortcuts
| Action | Gedit Shortcut |
| Find text | Ctrl + F |
| Find next instance | Ctrl + G |
| Find previous instance | Ctrl + Shift + G |
| Find and replace text | Ctrl + H |
| Open and focus the search box | Ctrl + K |
| Clear search highlighting | Ctrl + Shift + K |
| Go to a specific line | Ctrl + I |
Navigation & Tab Shortcuts
| Action | Gedit Shortcut |
| Switch to the previous tab | Ctrl + Alt + Page Up |
| Switch to the next tab | Ctrl + Alt + Page Down |
| Close current tab | Ctrl + W |
| Save all tabs | Ctrl + Shift + L |
| Close all tabs | Ctrl + Shift + W |
| Reopen the most recently closed tab | Ctrl + Shift + T |
| Jump to tab 1 through 9 | Alt + 1 … 9 |
| Open a new tab group | Ctrl + Alt + N |
| Switch to the previous tab group | Shift + Ctrl + Alt + Page Up |
| Switch to the next tab group | Shift + Ctrl + Alt + Page Down |
Plugin & Tool Shortcuts
These shortcuts depend on plugins being enabled under Preferences > Plugins, so they may not work on a default install.
| Action | Gedit Shortcut | Requires |
| Check spelling | Shift + F7 | Spell Checker plugin |
| Remove trailing spaces | Alt + F12 | External Tools plugin |
| Run “make” in the current directory | F8 | External Tools plugin |
| Show a directory listing | Ctrl + Shift + D | External Tools plugin |
Gedit Shortcuts on Windows and Mac
Gedit is not exclusive to Linux. Official builds are available for Windows, and it can be installed on Mac through Homebrew or Flatpak. The core shortcuts above work the same way on Windows, since both platforms use Ctrl as the primary modifier key. On Mac, most Ctrl-based shortcuts still function as-is when using the native or Homebrew build, though some window-management shortcuts, like fullscreen or pane toggling, may follow macOS conventions instead. If a shortcut doesn’t respond on Mac, check Gedit’s Preferences menu, most actions can be remapped manually.
How to Customize Gedit Shortcuts
Gedit doesn’t ship with a built-in visual shortcut editor in most versions, but you can still change keybindings on Linux:
- Close Gedit completely.
- Open a terminal and check whether the Custom Keyboard Shortcuts plugin is available under Preferences > Plugins. If it is, enable it.
- If it isn’t available, create a plugin file at ~/.local/share/gedit/plugins/custom_keys.py and define your bindings there. Community plugin templates exist specifically for this purpose.
- Restart Gedit and open Preferences > Plugins again to confirm the new plugin is active.
- Test your new shortcut inside a document. If it doesn’t fire, double check that the action name matches Gedit’s internal menu action names, which are documented in Gedit’s GitHub source.
Some low-level shortcuts, like deleting a line, are hard-coded into Gedit’s source and cannot be reassigned through a plugin.
Download the Gedit Shortcuts PDF
Frequently Asked Questions
What is the shortcut to delete a line in Gedit?
Press Ctrl+D. It deletes the entire line the cursor is on, with no need to select the text first.
How do I see all keyboard shortcuts in Gedit?
Gedit doesn’t have a built-in shortcut overlay in most versions. The full list above covers everything documented by GNOME, plus the plugin-based shortcuts that aren’t in the official help file.
Can I customize Gedit’s keyboard shortcuts?
Yes, on Linux, through a custom plugin file placed in Gedit’s plugins directory. See the customization section above for the steps.
Does Gedit have the same shortcuts on Windows and Linux?
Mostly yes. Core editing, search, and file shortcuts are identical since both platforms use Ctrl as the main modifier. Some window and pane shortcuts may behave differently depending on the build.
What is the shortcut to save all open tabs in Gedit?
Ctrl+Shift+L saves every open tab at once.
Is Gedit still maintained in 2026?
Yes, Gedit remains part of the GNOME project and continues to receive updates as part of the GNOME release cycle.
What’s the difference between Gedit and Vim shortcuts?
Gedit’s shortcuts follow standard GUI conventions, similar to most Windows and Mac applications. Vim uses modal editing, where the same key does different things depending on whether you’re in insert, normal, or command mode. If you’re moving from Gedit to Vim, expect a learning curve rather than a direct shortcut translation. You can see the full list in our Vim shortcuts guide.
Conclusion
Gedit’s shortcut set is small enough to learn in a single sitting but complete enough to cover editing, searching, formatting, and tab management without ever touching the mouse. Start with the top 10 list, add the formatting and plugin shortcuts once those become second nature, and use the PDF above as a quick desk reference while you build muscle memory.
READ NEXT:





