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
TeliuTe
teliute@163.com 2009, 2011
Colin Zhao
lonely.ibm@gmail.com 2011
wancheng zhang
wancheng.com.cn@gmail.com 2012

# 快捷键

使用快捷键执行常用任务，比用鼠标和菜单要快。下表列出了 gedit 的常用快捷键。

# 标签相关的快捷键

Action | Keyboard shortcut
--- | ---
切换到左边的标签 | CtrlAlt PageUp
切换到右边的标签 | CtrlAlt PageDown
关闭标签 | CtrlW
保存全部标签 | CtrlShift L
关闭全部标签 | CtrlShiftW
Reopen the most recently closed tab | CtrlShiftT
跳到第 n 个标签 | Alt n
New tab group | CtrlAltN
Previous tab group | ShiftCtrlAltPage up
Next tab group | ShiftCtrlAltPage down

# 文件操作的快捷键

Action | Keyboard shortcut
--- | ---
Create a new document in a new window | CtrlN
Create a new document in a new tab | CtrlT
打开文档 | CtrlO
Open the Quick Open window | AltO
保存当前文档 | CtrlS
文件另存为 | CtrlShift S
打印当前文档 | Ctrl P
打印预览 | CtrlShift P
关闭当前文档 | CtrlW
退出 gedit | CtrlQ

# 编辑文档的快捷键

Action | Keyboard shortcut
--- | ---
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 the selected word right one word | Alt→
Move the selected word left one word | Alt←
撤销上一次操作 | CtrlZ
重做上一次撤销的操作 | CtrlShift Z
剪切选中的文本或文本块，并放到剪贴板中 | CtrlX
复制选中的文本或文本块，并放到剪贴板中 | CtrlC
从剪贴板中粘贴内容 | CtrlV
全部选中 | CtrlA
删除当前行 | CtrlD
将选中的行上移一行 | Alt↑
将选中的行下移一行 | Alt↓
添加制表符 | Tab
删除制表符 | ShiftTab
Convert the selected text to upper case | CtrlU
Convert the selected text to lower case | CtrlL
Toggle case of the selected text | Ctrl~

# 显示和隐藏面板的快捷键

Action | Keyboard shortcut
--- | ---
显示/隐藏侧边栏 | F9
Show / hide the bottom pane | CtrlF9
Open the file menu | F10

# 搜索的快捷键

Action | Keyboard shortcut
--- | ---
查找字符串 | CtrlF
查找下一个匹配的字符串 | CtrlG
Find the previous instance of the string | CtrlShiftG
查找和替换 | CtrlH
Clear highlight | CtrlShift K
跳转到行 | CtrlI

# 使用工具的快捷键

Action | Keyboard shortcut
--- | ---
检查拼写 | ShiftF7
删除尾部空格(使用插件) | AltF12
在当前文件夹运行“make”命令(用插件) | F8
文件夹列表(使用插件) | CtrlShift D

# 帮助的快捷键

Action | Keyboard shortcut
--- | ---
打开使用指南 | F1