乌班图系统中,好多文件默认开启软件为gedit,在没有显示菜单栏的情况下,用快捷键处理更加迅速。快捷键基本类似。
启动gedit:SUPER(win键) + A,然后按gedit,回车 终端 gedit &
CTRL + N: 新建文档
CTRL + W: 关闭文档
CTRL + S: 保存
CTRL + SHIFT + S: 另存为
CTRL + S: 搜索
CTRL + H: 搜索并替换
CTRL + I: 跳到某一行
CTRL + C: 复制
CTRL + V: 粘贴
CTRL + X: 剪切
CTRL + Q: 退出
Shortcuts for tabs:
Ctrl + Alt + PageDown 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:
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:
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.
Shortcuts for showing and hiding panes:
F9 Show/hide the side pane.
Ctrl + F9 Show/hide the bottom pane.
Shortcuts for searching:
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:
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:
F1 Open gedit’s user manual.