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

vim下的快捷键:

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

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

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

2. 删除

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

3. 插入

Shortcut KeyCommand
a在光标后插入
A在行末插入

4. 复制

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

5. 粘贴

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

Gedit 快捷键:

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

Tabs

Shortcut KeyCommand
Ctrl + Alt + Page UpSwitches to the next tab to the left.
Ctrl + Alt + Page DownSwitches to the next tab to the right.
Ctrl + WClose tab.
Ctrl + Shift + LSave all tabs.
Ctrl + Shift + WClose all tabs.
Alt + nJump to nth tab.

Files

Shortcut KeyCommand
Ctrl + NCreate a new document.
Ctrl + OOpen a document.
Ctrl + LOpen a location.
Ctrl + SSave the current document to disk.
Ctrl + Shift + SSave the current document with a new filename.
Ctrl + PPrint the current document.
Ctrl + Shift + PPrint preview.
Ctrl + WClose the current document.
Ctrl + QQuit Gedit.

Edit

Shortcut KeyCommand
Ctrl + ZUndo the last action.
Ctrl + Shift + ZRedo the last undone action .
Ctrl + XCut the selected text or region and place it on the clipboard.
Ctrl + CCopy the selected text or region onto the clipboard.
Ctrl + VPaste the contents of the clipboard.
Ctrl + ASelect all.

Edit (from GTKTextView)

Shortcut KeyCommand
Ctrl + DDelete the line.
Ctrl + LeftMove the cursor to the beginning of the word or previous word if it’s already in the beginning of the current one.
Ctrl + RightMove the cursor to the end of the word or next word if it’s already in the end of the current one.

Panes

Shortcut KeyCommand
F9Show/hide the side pane.
Ctrl + F9Show/hide the bottom pane.
Shortcut KeyCommand
Ctrl + FFind a string.
Ctrl + GFind the next instance of the string.
Ctrl + Shift + GFind the previous instance of the string.
Ctrl + KInteractive search.
Ctrl + HSearch and replace.
Ctrl + Shift + KClear highlight.
Ctrl + IGoto line.

Tools

Shortcut KeyCommand
F7Check spelling (with plugin).
Alt + F12Remove trailing spaces (with plugin).
Ctrl + TIndent (with plugin).
Ctrl + Shift + TRemove Indent (with plugin).
F8Run “make” in current directory (with plugin).
Ctrl + Shift + DDirectory listing (with plugin).

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

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值