<info> <name>Jim Campbell</name> jcampbell@gnome.org <name>Paolo Borelli</name> <name>Jesse van den Kieboom</name> <name>Steve Frécinaux</name> <name>Ignacio Casal Quinteiro</name> <name>Sindhu S</name> sindhus@live.in <name>Radina Matic</name> radina.matic@gmail.com <years>2013</years> </info>

Use <gui>shortcut keys</gui> to perform common tasks more quickly than with the mouse and menus. The following tables list all of <app>gedit's</app> shortcut keys.

Tab-related Shortcut keys
To Do This | Press This
Switch to the next tab to the left | <keyseq><key>Ctrl</key><key>Alt</key> <key>PageUp</key></keyseq>
Switch to the next tab to the right | <keyseq><key>Ctrl</key><key>Alt</key> <key>PageDown</key></keyseq>
Close tab | <keyseq><key>Ctrl</key><key>W</key></keyseq>
Save all tabs | <keyseq><key>Ctrl</key><key>Shift</key> <key>L</key></keyseq>
Close all tabs | <keyseq><key>Ctrl</key><key>Shift</key><key>W</key></keyseq>
Reopen the most recently closed tab | <keyseq><key>Ctrl</key><key>Shift</key><key>T</key></keyseq>
Jump to nth tab | <keyseq><key>Alt</key><key> n</key></keyseq>
New tab group | <keyseq><key>Ctrl</key><key>Alt</key><key>N</key></keyseq>
Previous tab group | <keyseq><key>Shift</key><key>Ctrl</key><key>Alt</key><key>Page up</key></keyseq>
Next tab group | <keyseq><key>Shift</key><key>Ctrl</key><key>Alt</key><key>Page down</key></keyseq>

Shortcut keys for working with files
To Do This | Press This
Create a new document | <keyseq><key>Ctrl</key><key>N</key></keyseq>
Open a document | <keyseq><key>Ctrl</key><key>O</key></keyseq>
Save the current document | <keyseq><key>Ctrl</key><key>S</key></keyseq>
Save the current document with a new filename | <keyseq><key>Ctrl</key><key>Shift</key> <key>S</key></keyseq>
Print the current document | <keyseq><key>Ctrl </key><key>P</key></keyseq>
Print preview | <keyseq><key>Ctrl</key><key>Shift</key> <key>P</key></keyseq>
Close the current document | <keyseq><key>Ctrl</key><key>W</key></keyseq>
Quit gedit | <keyseq><key>Ctrl</key><key>Q</key></keyseq>

Shortcut keys for editing files
To Do This | Press This
Move to the beginning of the current line | <key>Home</key>
Move to the end of the current line | <key>End</key>
Move to the beginning of the document | <keyseq><key>Ctrl</key><key>Home</key></keyseq>
Move to the end of the document | <keyseq><key>Ctrl</key><key>End</key></keyseq>
Move the selected word right one word | <keyseq><key>Alt</key><key>Right Arrow</key></keyseq>
Move the selected word left one word | <keyseq><key>Alt</key><key>Left Arrow</key></keyseq>
Undo the last action | <keyseq><key>Ctrl</key><key>Z</key></keyseq>
Redo the last undone action | <keyseq><key>Ctrl</key><key>Shift</key> <key>Z</key></keyseq>
Cut the selected text or region and place it on the clipboard | <keyseq><key>Ctrl</key><key>X</key></keyseq>
Copy the selected text or region onto the clipboard | <keyseq><key>Ctrl</key><key>C</key></keyseq>
Paste the contents of the clipboard | <keyseq><key>Ctrl</key><key>V</key></keyseq>
Select all text in the file | <keyseq><key>Ctrl</key><key>A</key></keyseq>
Delete the current line | <keyseq><key>Ctrl</key><key>D</key></keyseq>
Move the selected line up one line | <keyseq><key>Alt</key><key>Up Arrow</key></keyseq>
Move the selected line down one line | <keyseq><key>Alt</key><key>Down Arrow</key></keyseq>
Add a tab stop | <keyseq><key>Tab</key></keyseq>
Remove a tab stop | <keyseq><key>Shift</key><key>Tab</key></keyseq>
Convert the selected text to upper case | <keyseq><key>Ctrl</key><key>U</key></keyseq>
Convert the selected text to lower case | <keyseq><key>Ctrl</key><key>L</key></keyseq>
Toggle case of the selected text | <keyseq><key>Ctrl</key><key>~</key></keyseq>

Shortcut keys for showing and hiding panes
To Do This | Press This
Show / hide the side pane | <key>F9</key>
Show / hide the bottom pane. | <keyseq><key>Ctrl</key><key>F9</key></keyseq>

Shortcut keys for searching
To Do This | Press This
Find a string | <keyseq><key>Ctrl</key><key>F</key></keyseq>
Find the next instance of the string | <keyseq><key>Ctrl</key><key>G</key></keyseq>
Find the previous instance of the string | <keyseq><key>Ctrl</key><key>Shift</key><key>G</key></keyseq>
Search and Replace | <keyseq><key>Ctrl</key><key>H</key></keyseq>
Clear highlight | <keyseq><key>Ctrl</key><key>Shift</key> <key>K</key></keyseq>
Goto line | <keyseq><key>Ctrl</key><key>I</key></keyseq>

Shortcut keys for tools
To Do This | Press This
Check spelling | <keyseq><key>Shift</key><key>F7</key></keyseq>
Remove trailing spaces (with plugin) | <keyseq><key>Alt</key><key>F12</key></keyseq>
Run "make" in the current directory (with plugin) | <key>F8</key>
Directory listing (with plugin) | <keyseq><key>Ctrl</key><key>Shift</key> <key>D</key></keyseq>

Shortcut keys for user help
To Do This | Press This
Open the gedit user guide | <key>F1</key>