<info> <desc>Use keyboard shortcuts to help you work more quickly.</desc> <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> <name>Ekaterina Gerasimova</name> kittykat3756@gmail.com <years>2015</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
Action | Keyboard shortcut
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
Action | Keyboard shortcut
Create a new document in a new window | <keyseq><key>Ctrl</key><key>N</key></keyseq>
Create a new document in a new tab | <keyseq><key>Ctrl</key><key>T</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>
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
Action | Keyboard shortcut
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>
Unselect all text | <keyseq><key>Ctrl</key><key>Backslash</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>
Toggle cursor visibility | <keyseq><key>F7</key></keyseq>

Shortcut keys for showing and hiding panes
Action | Keyboard shortcut
Show / hide the side panel | <key>F9</key>
Open the file menu | <key>F10</key>

Shortcut keys for navigation
Action | Keyboard shortcut
Move to matching bracket | <keyseq><key>Ctrl</key><key>%</key></keyseq>
Goto line | <keyseq><key>Ctrl</key><key>I</key></keyseq>
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 viewport up within the file | <keyseq><key>Shift</key><key>Alt</key><key>Up</key></keyseq>
Move viewport down within the file | <keyseq><key>Shift</key><key>Alt</key><key>Down</key></keyseq>
Move viewport to beginning of file | <keyseq><key>Shift</key><key>Alt</key><key>Home</key></keyseq>
Move viewport to end of file | <keyseq><key>Shift</key><key>Alt</key><key>End</key></keyseq>

Shortcut keys for searching
Action | Keyboard shortcut
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>

Shortcut keys for tools
Action | Keyboard shortcut
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
Action | Keyboard shortcut
Open the gedit user guide | <key>F1</key>