Emacs编辑命令速查3【摘自Learning Gnu Emacs 】
来源:互联网 发布:java高级编程 jdk7版 编辑:程序博客网 时间:2024/06/05 19:41
Table E-13. Macro commands (Chapter 6)
Keystrokes
Command name
Action
C-x (
kmacro-start-macro
Start macro definition.
F3
kmacro-start-macro-or-insert-counter
Start macro definition. If pressed while defining a macro, insert a counter.
C-x )
kmacro-end-macro
End macro definition.
F4
kmacro-end-or-call-macro
End macro definition (if definition is in progress) or invoke last keyboard macro.
C-x e
kmacro-end-and-call-macro
Execute last keyboard macro defined. Can type e to repeat macro.
C-x C-k n
name-last-kbd-macro
Name the last macro you created (before saving it).
C-x C-k e
edit-kbd-macro
Edit a keyboard macro by typing C-x e for the last keyboard macro defined, M-x for a named macro, C-h l for lossage, or keystrokes for a macro bound to a key.
C-x C-k Enter
kmacro-edit-macro
Edit the last keyboard macro.
Table E-14. Outline mode commands (Chapter 7)
Keystrokes
Command name
Action
(none)
outline-mode
Toggle outline mode
C-c C-t Hide Hide Body
hide-body
Hide all body lines.
C-c C-a Show Show All
show-all
Show everything that's hidden.
Table E-15. Compilation mode commands (Chapter 9)
Keystrokes
Command name
Action
C-x `
next-error
Move to the next error message and visit the corresponding source code.
M-n
compilation-next-error
Move to the next error message.
M-p
compilation-previous-error
Move to the previous error message.
C-c C-c
compilation-goto-error
Visit the source code for the current error message.
Table E-16. Basic indentation commands (Chapter 7 and Chapter 9)
Keystrokes
Command name
Action
C-M-\
indent-region
Indent each line between the cursor and mark.
M-m
back-to-indentation
Move to the first nonblank character on the line.
M-^
delete-indentation
Join this line to the previous one.
Table E-17. C motion commands (Chapter 9)
Keystrokes
Command name
Action
M-a
c-beginning-of-statement
Move to the beginning of the current statement.
M-e
c-end-of-statement
Move to the end of the current statement.
M-q
c-fill-paragraph
If in comment, fill the paragraph, preserving indentations and decorations.
C-M-a
beginning-of-defun
Move to the beginning of the body of the function surrounding the point.
C-M-e
end-of-defun
Move to the end of the function.
C-M-h
c-mark-function
Put the cursor at the beginning of the function, the mark at the end.
C-c C-q
c-indent-defun
Indent the entire function according to indentation style.
C-c C-u
c-up-conditional
Move to the beginning of the current preprocessor conditional.
C-c C-p
c-backward-conditional
Move to the previous preprocessor conditional.
C-c C-n
c-forward-conditional
Move to the next preprocessor conditional.
Table E-18. SQL mode commands (Chapter 9)
Keystrokes
Command name
Action
C-c C-c
sql-send-paragraph
Send the paragraph the cursor is on. A paragraph is defined by the particular database client. For the sql-mysql process, for example, a paragraph begins with a statement like select or update and ends with a semicolon. Any number of lines can intervene.
C-c C-r
sql-send-region
Send the marked region.
C-c C-b
sql-send-buffer
Send the entire buffer.
- Emacs编辑命令速查3【摘自Learning Gnu Emacs 】
- Emacs编辑命令速查2【摘自Learning Gnu Emacs】
- Emacs编辑命令速查4【摘自Learning Gnu Emacs】
- Emacs编辑命令速查表1【摘自Learning Gnu Emacs】
- Emacs编辑命令速查
- Emacs 命令速查
- emacs命令速查
- emacs命令速查
- GNU Emacs 命令列表
- Emacs 基本编辑命令
- emacs常用编辑命令
- GNU/Emacs
- Emacs常用命令速查
- Learning Emacs
- 学习GNU Emacs命令速查表(一)
- 学习GNU Emacs命令速查表(二)
- 学习GNU Emacs命令速查表(三)
- 学习GNU Emacs命令速查表(四)
- PHP SQL
- .NET 添加/更新Cookie
- PHP中安装APC扩展遇到问题
- 纯虚函数
- Linux软件包
- Emacs编辑命令速查3【摘自Learning Gnu Emacs 】
- Windows API---SetThreadPriority和GetThreadPriority函数
- Objective-c的内存管理笔记
- 第三周实验报告3。。。
- Emacs编辑命令速查4【摘自Learning Gnu Emacs】
- MFC之socket创建失败
- cmos sensor (图像传感器) CSI接口
- eclipse或myeclipse安装aptana插件,编辑js,jquery更好用
- JPA 错误解决办法 ClassCastException !(x instance of Long)