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.
For more on shortcut keys, see the Desktop User Guide.
Shortcuts for tabs:
Shortcut Key
|
Command
|
Ctrl + Alt + PageUp |
Switches to the next tab to the left. |
Ctrl + Alt + PageDown |
Switches to the next tab to the right. |
Ctrl + W |
Close tab. |
Ctrl + Shift + L |
Save all tabs. |
Ctrl + Shift + W |
Close all tabs. |
Alt + n |
Jump to nth tab. |
Shortcuts for working with files:
Shortcut Key
|
Command
|
Ctrl + N |
Create a new document. |
Ctrl + O |
Open a document. |
Ctrl + L |
Open a location. |
Ctrl + S |
Save the current document to disk. |
Ctrl + Shift + S |
Save the current document with a new filename. |
Ctrl + P |
Print the current document. |
Ctrl + Shift + P |
Print preview. |
Ctrl + W |
Close the current document. |
Ctrl + Q |
Quit Gedit. |
Shortcuts for editing documents:
Shortcut Key
|
Command
|
Ctrl + Z |
Undo the last action. |
Ctrl + Shift + Z |
Redo the last undone action . |
Ctrl + X |
Cut the selected text or region and place it on the clipboard. |
Ctrl + C |
Copy the selected text or region onto the clipboard. |
Ctrl + V |
Paste the contents of the clipboard. |
Ctrl + A |
Select all. |
Ctrl + D |
Delete current line. |
Alt + Up |
Move the selected line up one line. |
Alt + Down |
Move the selected line down one line. |
Shortcuts for showing and hiding panes:
Shortcut Key
|
Command
|
F9 |
Show/hide the side pane. |
Ctrl + F9 |
Show/hide the bottom pane. |
Shortcuts for searching:
Shortcut Key
|
Command
|
Ctrl + F |
Find a string. |
Ctrl + G |
Find the next instance of the string. |
Ctrl + Shift + G |
Find the previous instance of the string. |
Ctrl + K |
Interactive search. |
Ctrl + H |
Search and replace. |
Ctrl + Shift + K |
Clear highlight. |
Ctrl + I |
Goto line. |
Shortcuts for tools:
Shortcut Key
|
Command
|
Shift + F7 |
Check spelling (with plugin). |
Alt + F12 |
Remove trailing spaces (with plugin). |
Ctrl + T |
Indent (with plugin). |
Ctrl + Shift + T |
Remove Indent (with plugin). |
F8 |
Run "make" in current directory (with plugin). |
Ctrl + Shift + D |
Directory listing (with plugin). |
Shortcuts for help:
Shortcut Key
|
Command
|
F1 |
Open gedit's user manual. |
About
Copyrights
- Copyright © 2007 GNOME Documentation Project
- Copyright © 2002, 2003, 2004 Sun Microsystems
- Copyright © 2000 Eric Baudais
Legal Notice
Permission is granted to copy, distribute and/or modify this
document under the terms of the GNU Free Documentation
License (GFDL), Version 1.1 or any later version published
by the Free Software Foundation with no Invariant Sections,
no Front-Cover Texts, and no Back-Cover Texts. You can find
a copy of the GFDL at this link or in the file COPYING-DOCS
distributed with this manual.
This manual is part of a collection of GNOME manuals
distributed under the GFDL. If you want to distribute this
manual separately from the collection, you can do so by
adding a copy of the license to the manual, as described in
section 6 of the license.
Many of the names used by companies to distinguish their
products and services are claimed as trademarks. Where those
names appear in any GNOME documentation, and the members of
the GNOME Documentation Project are made aware of those
trademarks, then the names are in capital letters or initial
capital letters.
DOCUMENT AND MODIFIED VERSIONS OF THE DOCUMENT ARE PROVIDED
UNDER THE TERMS OF THE GNU FREE DOCUMENTATION LICENSE
WITH THE FURTHER UNDERSTANDING THAT:
-
DOCUMENT IS PROVIDED ON AN "AS IS" BASIS,
WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR
IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES
THAT THE DOCUMENT OR MODIFIED VERSION OF THE
DOCUMENT IS FREE OF DEFECTS MERCHANTABLE, FIT FOR
A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE
RISK AS TO THE QUALITY, ACCURACY, AND PERFORMANCE
OF THE DOCUMENT OR MODIFIED VERSION OF THE
DOCUMENT IS WITH YOU. SHOULD ANY DOCUMENT OR
MODIFIED VERSION PROVE DEFECTIVE IN ANY RESPECT,
YOU (NOT THE INITIAL WRITER, AUTHOR OR ANY
CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY
SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER
OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS
LICENSE. NO USE OF ANY DOCUMENT OR MODIFIED
VERSION OF THE DOCUMENT IS AUTHORIZED HEREUNDER
EXCEPT UNDER THIS DISCLAIMER; AND
UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL
THEORY, WHETHER IN TORT (INCLUDING NEGLIGENCE),
CONTRACT, OR OTHERWISE, SHALL THE AUTHOR,
INITIAL WRITER, ANY CONTRIBUTOR, OR ANY
DISTRIBUTOR OF THE DOCUMENT OR MODIFIED VERSION
OF THE DOCUMENT, OR ANY SUPPLIER OF ANY OF SUCH
PARTIES, BE LIABLE TO ANY PERSON FOR ANY
DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR
CONSEQUENTIAL DAMAGES OF ANY CHARACTER
INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS
OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR
MALFUNCTION, OR ANY AND ALL OTHER DAMAGES OR
LOSSES ARISING OUT OF OR RELATING TO USE OF THE
DOCUMENT AND MODIFIED VERSIONS OF THE DOCUMENT,
EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF
THE POSSIBILITY OF SUCH DAMAGES.
Feedback
To report a bug or make a suggestion regarding the gedit application or this manual, follow the directions in the GNOME Feedback Page.