Jim Campbell
jwcampbell@gmail.com
Paolo Borelli
Jesse van den Kieboom
Steve Frécinaux
Ignacio Casal Quinteiro

# 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

To Do This | Press This
--- | ---
Switch to the next tab to the left | Ctrl + Alt + PageUp
Switch to the next tab to the right | Ctrl + Alt + PageDown
Close tab | Ctrl + W
Save all tabs | Ctrl + Skift + L
Close all tabs | Ctrl + Skift + W
Jump to nth tab | Alt + n

# Shortcut keys for working with files

To Do This | Press This
--- | ---
Create a new document | Ctrl + N
Open a document | Ctrl + O
Save the current document | Ctrl + S
Save the current document with a new filename | Ctrl + Skift + S
Print the current document | Ctrl + P
Print preview | Ctrl + Skift + P
Close the current document | Ctrl + W
Quit gedit | Ctrl + Q

# Shortcut keys for editing files

To Do This | Press This
--- | ---
Undo the last action | Ctrl + Z
Redo the last undone action | Ctrl + Skift + Z
Cut the selected text or region and place it on the clipboard | Ctrl + X
Copy the selected text or region onto the clipboard | Ctrl + C
Paste the contents of the clipboard | Ctrl + V
Select all text in the file | Ctrl + A
Delete the current line | Ctrl + D
Move the selected line up one line | Alt + Up Arrow
Move the selected line down one line | Alt + Down Arrow

# Shortcut keys for showing and hiding panes

To Do This | Press This
--- | ---
Show / hide the side pane | F9
Show / hide the bottom pane. | Ctrl + F9

# Shortcut keys for searching

To Do This | Press This
--- | ---
Find a string | Ctrl + F
Find the next instance of the string | Ctrl + G
Find the previous instance of the string | Ctrl + Skift + G
Search and Replace | Ctrl + H
Clear highlight | Ctrl + Skift + K
Goto line | Ctrl + I

# Shortcut keys for tools

To Do This | Press This
--- | ---
Check spelling | Skift + F7
Remove trailing spaces (with plugin) | Alt + F12
Run "make" in the current directory (with plugin) | F8
Directory listing (with plugin) | Ctrl + Skift + D

# Shortcut keys for user help

To Do This | Press This
--- | ---
Open the gedit user guide | F1