ubuntu/vim/terminal/gedit...快捷键

前端之家收集整理的这篇文章主要介绍了ubuntu/vim/terminal/gedit...快捷键前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

vim下的快捷键:

Vi三种模式详解:http://www.cnblogs.com/AngelLee2009/p/3240570.html

命令行模式下:(插入模式下通过Esc切换到命令行模式)
1. 查看帮助文档

Shortcut Key Command
shift+k 查看函数的帮助文档:光标在函数上,按大写的k

2. 删除

Shortcut Key Command
dd 删除一行
D 删除光标后到行尾

3. 插入

Shortcut Key Command
a 在光标后插入
A 在行末插入

4. 复制

Shortcut Key Command
yy 复制一行
yaw 复制一个单词
ynw 复制N个单词
ynj 向下复制n行
ynk 向上复制n行

5. 粘贴

Shortcut Key Command
P 粘贴至光标前
p 粘贴至光标后
3P 粘贴3次

Gedit 快捷键:

附上插件下载地址:ftp://ftp.gnome.org/pub/gnome/sources/gedit-plugins/

Tabs

Shortcut Key Command
Ctrl + Alt + Page Up Switches to the next tab to the left.
Ctrl + Alt + Page Down 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.

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.

Edit

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.

Edit (from GTKTextView)

Shortcut Key Command
Ctrl + D Delete the line.
Ctrl + Left Move the cursor to the beginning of the word or prevIoUs word if it’s already in the beginning of the current one.
Ctrl + Right Move the cursor to the end of the word or next word if it’s already in the end of the current one.

Panes

Shortcut Key Command
F9 Show/hide the side pane.
Ctrl + F9 Show/hide the bottom pane.
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.

Tools

Shortcut Key Command
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).

转自:http://live.gnome.org/Gedit/KeyboardShortcuts

原文链接:https://www.f2er.com/ubuntu/351329.html

猜你在找的Ubuntu相关文章