Use keyboard shortcuts to help you work more quickly.
Jim Campbell
jcampbell@gnome.org
Paolo Borelli
Jesse van den Kieboom
Steve Frécinaux
Ignacio Casal Quinteiro
Sindhu S
sindhus@live.in
Radina Matic
radina.matic@gmail.com 2013
Ekaterina Gerasimova
kittykat3756@gmail.com 2015

# Shortcut keys

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

# Tab-related Shortcut keys

Handling | Keyboard shortcut
--- | ---
Switch to the next tab to the left | CtrlAlt PageUp
Switch to the next tab to the right | CtrlAlt PageDown
Close tab | CtrlW
Save all tabs | CtrlShift L
Close all tabs | CtrlShiftW
Reopen the most recently closed tab | CtrlShiftT
Jump to nth tab | Alt n
New tab group | CtrlAltN
Previous tab group | ShiftCtrlAltPage up
Next tab group | ShiftCtrlAltPage down

# Shortcut keys for working with files

Handling | Keyboard shortcut
--- | ---
Create a new document in a new window | CtrlN
Create a new document in a new tab | CtrlT
Open a document | CtrlO
Open the Quick Open window | AltO
Save the current document | CtrlS
Save the current document with a new filename | CtrlShift S
Print the current document | Ctrl P
Print preview | CtrlShift P
Close the current document | CtrlW
Quit gedit | CtrlQ

# Shortcut keys for editing files

Handling | Keyboard shortcut
--- | ---
Move the selected word right one word | AltRight Arrow
Move the selected word left one word | AltLeft Arrow
Undo the last action | CtrlZ
Redo the last undone action | CtrlShift Z
Cut the selected text or region and place it on the clipboard | CtrlX
Copy the selected text or region onto the clipboard | CtrlC
Paste the contents of the clipboard | CtrlV
Select all text in the file | CtrlA
Unselect all text | CtrlBackslash
Delete the current line | CtrlD
Move the selected line up one line | AltUp Arrow
Move the selected line down one line | AltDown Arrow
Add a tab stop | Tab
Remove a tab stop | ShiftTab
Convert the selected text to upper case | CtrlU
Convert the selected text to lower case | CtrlL
Toggle case of the selected text | Ctrl~
Toggle cursor visibility | F7

# Shortcut keys for showing and hiding panes

Handling | Keyboard shortcut
--- | ---
Show / hide the side panel | F9
Open the file menu | F10

# Shortcut keys for navigation

Handling | Keyboard shortcut
--- | ---
Move to matching bracket | Ctrl%
Goto line | CtrlI
Move to the beginning of the current line | Home
Move to the end of the current line | End
Move to the beginning of the document | CtrlHome
Move to the end of the document | CtrlEnd
Move viewport up within the file | ShiftAltUp
Move viewport down within the file | ShiftAltDown
Move viewport to beginning of file | ShiftAltHome
Move viewport to end of file | ShiftAltEnd

# Shortcut keys for searching

Handling | Keyboard shortcut
--- | ---
Find a string | CtrlF
Find the next instance of the string | CtrlG
Find the previous instance of the string | CtrlShiftG
Search and Replace | CtrlH
Clear highlight | CtrlShift K

# Shortcut keys for tools

Handling | Keyboard shortcut
--- | ---
Check spelling | ShiftF7
Remove trailing spaces (with plugin) | AltF12
Run "make" in the current directory (with plugin) | F8
Directory listing (with plugin) | CtrlShift D

# Shortcut keys for user help

Handling | Keyboard shortcut
--- | ---
Open the gedit user guide | F1