📄 ch07_03.htm
字号:
<html><head><title>Summary of Commands by Key (UNIX in a Nutshell: System V Edition)</title><link rel="stylesheet" type="text/css" href="../style/style1.css" /><meta name="DC.Creator" content="Arnold Robbins" /><meta name="DC.Format" content="text/xml" scheme="MIME" /><meta name="DC.Language" content="en-US" /><meta name="DC.Publisher" content="O'Reilly & Associates, Inc." /><meta name="DC.Source" scheme="ISBN" content="1-56592-427-4" /><meta name="DC.Subject.Keyword" content="stuff" /><meta name="DC.Title" content="UNIX in a Nutshell: System V Edition" /><meta name="DC.Type" content="Text.Monograph" /></head><body bgcolor="#ffffff"><img src="gifs/smbanner.gif" usemap="#banner-map" border="0" alt="Book Home" /><map name="banner-map"><area shape="rect" coords="1,-2,616,66" href="index.htm" alt="Book Title" /><area shape="rect" coords="629,-11,726,25" href="jobjects/fsearch.htm" alt="Search this book" /></map><div class="navbar"><table width="684" border="0"><tr><td align="left" valign="top" width="228"><a href="ch07_02.htm"><img src="../gifs/txtpreva.gif" alt="Previous" border="0" /></a></td><td align="center" valign="top" width="228" /><td align="right" valign="top" width="228"><a href="ch07_04.htm"><img src="../gifs/txtnexta.gif" alt="Next" border="0" /></a></td></tr></table></div><h2 class="sect1">7.3. Summary of Commands by Key</h2><p><a name="IXT-7-123145" />Emacs commands are presented below in two alphabetical lists.Reminder: C- indicates the Control key; M- indicates the Meta key.</p><a name="unut-ch-7-sect-3.1" /><div class="sect2"><h3 class="sect2">7.3.1. Control-Key Sequences</h3><p><a name="unut-ch-7-ix-control-key-commands-emacs" /><a name="unut-ch-7-ix-c-commands-emacs" /></p><table border="1" cellpadding="3"><tr><th><p><em class="emphasis">Keystrokes</em></p></th><th><p><em class="emphasis">Command Name</em></p></th><th><p><em class="emphasis">Description</em></p></th></tr><tr><td><p>C-@</p></td><td><p>set-mark-command</p></td><td><p>Mark the beginning (or end) of a region.</p></td></tr><tr><td><p>C-Space</p></td> <td><p>(same as previous)</p></td><td></td></tr><tr><td><p>C-]</p></td><td><p>(none)</p></td><td><p>Exit recursive edit and exit query-replace.</p></td></tr><tr><td><p>C-a</p></td><td><p>beginning-of-line</p></td><td><p>Move to beginning of line.</p></td></tr><tr><td><p>C-b</p></td><td><p>backward-char</p></td><td><p>Move <em class="emphasis">backward</em> one character (left).</p></td></tr><tr><td><p>C-c C-c</p></td><td><p>comint-interrupt-subjob</p></td><td><p>Terminate the current job.</p></td></tr><tr><td><p>C-c C-d</p></td><td><p>comint-send-eof</p></td><td><p>End-of-file character.</p></td></tr><tr><td><p>C-c C-u</p></td><td><p>comint-kill-input</p></td><td><p>Erase current line.</p></td></tr><tr><td><p>C-c C-w</p></td><td><p>backward-kill-word</p></td><td><p>Erase the previous word.</p></td></tr><tr><td><p>C-c C-z</p></td><td><p>comint-stop-subjob</p></td><td><p>Suspend the current job.</p></td></tr><tr><td><p>C-d</p></td><td><p>delete-char</p></td><td><p>Delete character under cursor.</p></td></tr><tr><td><p>C-e</p></td><td><p>end-of-line</p></td><td><p>Move to <em class="emphasis">end</em> of line.</p></td></tr><tr><td><p>C-f</p></td><td><p>forward-char</p></td><td><p>Move <em class="emphasis">forward</em> one character (right).</p></td></tr><tr><td><p>C-g</p></td><td><p>keyboard-quit</p></td><td><p>Abort current command.</p></td></tr><tr><td><p>C-h</p></td><td><p>help-command</p></td><td><p>Enter the online help system.</p></td></tr><tr><td><p>C-h a</p></td><td><p>command-apropos</p></td><td><p>What commands involve this concept?</p></td></tr><tr><td><p>C-h b</p></td><td><p>describe-bindings</p></td><td><p>What are all the key bindings for this buffer?</p></td></tr><tr><td><p>C-h C-c</p></td><td><p>describe-copying</p></td><td><p>View the <tt class="literal">emacs</tt> General Public License.</p></td></tr><tr><td><p>C-h C-d</p></td><td><p>describe-distribution</p></td><td><p>View information on ordering <tt class="literal">emacs</tt> from FSF.</p></td></tr><tr><td><p>C-h C-w</p></td><td><p>describe-no-warranty</p></td><td><p>View the (non-)warranty for <tt class="literal">emacs</tt>.</p></td></tr><tr><td><p>C-h c</p></td><td><p>describe-key-briefly</p></td><td><p>What command does this keystroke sequence run?</p></td></tr><tr><td><p>C-h f</p></td><td><p>describe-function</p></td><td><p>What does this function do?</p></td></tr><tr><td><p>C-h i</p></td><td><p>info</p></td><td><p>Start the Info documentation reader.</p></td></tr><tr><td><p>C-h k</p></td><td><p>describe-key</p></td><td><p>What command does this keystroke sequence run,and what does it do?</p></td></tr><tr><td><p>C-h l</p></td><td><p>view-lossage</p></td><td><p>What are the last 100 characters I typed?</p></td></tr><tr><td><p>C-h m</p></td><td><p>describe-mode</p></td><td><p>Tell me about the mode the current buffer is in.</p></td></tr><tr><td><p>C-h n</p></td><td><p>view-emacs-news</p></td><td><p>View news about updates to <tt class="literal">emacs</tt>.</p></td></tr><tr><td><p>C-h s</p></td><td><p>describe-syntax</p></td><td><p>What is the syntax table for this buffer?</p></td></tr><tr><td><p>C-h t</p></td><td><p>help-with-tutorial</p></td><td><p>Run the <tt class="literal">emacs</tt> tutorial.</p></td></tr><tr><td><p>C-h v</p></td><td><p>describe-variable</p></td><td><p>What does this variable mean, and what is its value?</p></td></tr><tr><td><p>C-h w</p></td><td><p>where-is</p></td><td><p>What is the key binding for this command?</p></td></tr><tr><td><p>C-k</p></td><td><p>kill-line</p></td><td><p>Delete from cursor to end of line.</p></td></tr><tr><td><p>C-l</p></td><td><p>recenter</p></td><td><p>Redraw screen with current line in the center.</p></td></tr><tr><td><p>C-n</p></td><td><p>next-line</p></td><td><p>Move to <em class="emphasis">next</em> line (down).</p></td></tr><tr><td><p>C-p</p></td><td><p>previous-line</p></td><td><p>Move to <em class="emphasis">previous</em> line (up).</p></td></tr><tr><td><p>C-r Meta</p></td><td><p>(none)</p></td><td><p>Start nonincremental search backwards.</p></td></tr><tr><td><p>C-r</p></td><td><p>(none)</p></td><td><p>Repeat nonincremental search backward.</p></td></tr><tr><td><p>C-r</p></td><td><p>(none)</p></td><td><p>Enter recursive edit (during query replace).</p></td></tr><tr><td><p>C-r</p></td><td><p>isearch-backward</p></td><td><p>Start incremental search backward.</p></td></tr><tr><td><p>C-s Meta</p></td><td><p>(none)</p></td><td><p>Start nonincremental search forward.</p></td></tr><tr><td><p>C-s</p></td><td><p>(none)</p></td><td><p>Repeat nonincremental search forward.</p></td></tr><tr><td><p>C-s</p></td><td><p>isearch-forward</p></td><td><p>Start incremental search forward.</p></td></tr><tr><td><p>C-t</p></td><td><p>transpose-chars</p></td><td><p>Transpose two letters.</p></td></tr><tr><td><p>C-u <em class="emphasis">n</em></p></td><td><p>universal-argument</p></td><td><p>Repeat the next command <em class="emphasis">n</em> times.</p></td></tr><tr><td><p>C-u C-x (</p></td><td><p>universal-argument and start-kbd-macro</p></td><td><p>Execute last macro defined, then add keystrokes.</p></td></tr><tr><td><p>C-u C-x q</p></td><td><p>(none)</p></td><td><p>Insert recursive edit in a macro definition.</p></td></tr><tr><td><p>C-v</p></td><td><p>scroll-up</p></td><td><p>Move forward one screen.</p></td></tr><tr><td><p>C-w</p></td><td><p>kill-region</p></td><td><p>Delete a marked region.</p></td></tr><tr><td><p>C-x (</p></td><td><p>start-kbd-macro</p></td><td><p>Start macro definition.</p></td></tr><tr><td><p>C-x )</p></td><td><p>end-kbd-macro</p></td><td><p>End macro definition.</p></td></tr><tr><td><p>C-x [</p></td><td><p>backward-page</p></td><td><p>Move backward one page.</p></td></tr><tr><td><p>C-x ]</p></td><td><p>forward-page</p></td><td><p>Move forward one page.</p></td></tr><tr><td><p>C-x ^</p></td><td><p>enlarge-window</p></td><td><p>Make window taller.</p></td></tr><tr><td><p>C-x {</p></td><td><p>shrink-window-horizontally</p></td><td><p>Make window narrower.</p></td></tr><tr><td><p>C-x }</p></td><td><p>enlarge-window-horizontally</p></td><td><p>Make window wider.</p></td></tr><tr><td><p>C-x <</p></td><td><p>scroll-left</p></td><td><p>Scroll the window left.</p></td></tr><tr><td><p>C-x ></p></td><td><p>scroll-right</p></td><td><p>Scroll the window right.</p></td></tr><tr><td><p>C-x .</p></td><td><p>set-fill-prefix</p></td><td><p>Use characters from the beginning of the line up to the cursor columnas the “fill prefix.”This prefix is prepended to each line in the paragraph.Cancel the prefix by typing this command in column 1.</p></td></tr><tr><td><p>C-x 0</p></td><td><p>delete-window</p></td><td><p>Delete current window.</p></td></tr><tr><td><p>C-x 1</p></td><td><p>delete-other-windows</p></td><td><p>Delete all windows but this one.</p></td></tr><tr><td><p>C-x 2</p></td><td><p>split-window-vertically</p></td><td><p>Divide the current window into two, one on top of the other.</p></td></tr><tr><td><p>C-x 3</p></td><td><p>split-window-horizontally</p></td><td><p>Divide the current window into two, side by side.</p></td></tr><tr><td><p>C-x 4 b</p></td><td><p>switch-to-buffer-other-window</p></td><td><p>Select a buffer in the other window.</p></td></tr><tr><td><p>C-x 4 f</p></td><td><p>find-file-other-window</p></td><td><p>Find a file in the other window.</p></td></tr><tr><td><p>C-x 5 b</p></td><td><p>switch-to-buffer-other-frame</p>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -