📄 ch07_04.htm
字号:
<tr><td><p>inverse-add-global-abbrev</p></td><td><p>C-x a i g</p></td><td><p>Type global abbreviation, then definition.</p></td></tr><tr><td><p>inverse-add-local-abbrev</p></td><td><p>C-x a i l</p></td><td><p>Type local abbreviation, then definition.</p></td></tr><tr><td><p>isearch-backward</p></td><td><p>C-r</p></td><td><p>Start incremental search backward.</p></td></tr><tr><td><p>isearch-backward-regexp</p></td><td><p>C-r</p></td><td><p>Same, but search for regular expression.</p></td></tr><tr><td><p>isearch-forward</p></td><td><p>C-s</p></td><td><p>Start incremental search forward.</p></td></tr><tr><td><p>isearch-forward-regexp</p></td><td><p>C-r</p></td><td><p>Same, but search for regular expression.</p></td></tr><tr><td><p>kbd-macro-query</p></td><td><p>C-x q</p></td><td><p>Insert a query in a macro definition.</p></td></tr><tr><td><p>keyboard-quit</p></td><td><p>C-g</p></td><td><p>Abort current command.</p></td></tr><tr><td><p>kill-all-abbrevs</p></td><td><p>(none)</p></td><td><p>Kill abbreviations for this session.</p></td></tr><tr><td><p>kill-buffer</p></td><td><p>C-x k</p></td><td><p>Delete the buffer specified.</p></td></tr><tr><td><p>kill-line</p></td><td><p>C-k</p></td><td><p>Delete from cursor to end of line.</p></td></tr><tr><td><p>kill-paragraph</p></td><td><p>(none)</p></td><td><p>Delete from cursor to end of paragraph.</p></td></tr><tr><td><p>kill-region</p></td><td><p>C-w</p></td><td><p>Delete a marked region.</p></td></tr><tr><td><p>kill-sentence</p></td><td><p>M-k</p></td><td><p>Delete sentence the cursor is on.</p></td></tr><tr><td><p>kill-some-buffers</p></td><td><p>(none)</p></td><td><p>Ask about deleting each buffer.</p></td></tr><tr><td><p>kill-word</p></td><td><p>M-d</p></td><td><p>Delete word the cursor is on.</p></td></tr><tr><td><p>list-abbrevs</p></td><td><p>(none)</p></td><td><p>View word abbreviations.</p></td></tr><tr><td><p>list-buffers</p></td><td><p>C-x C-b</p></td><td><p>Display buffer list.</p></td></tr><tr><td><p>load-file</p></td><td><p>(none)</p></td><td><p>Load macro files you've saved.</p></td></tr><tr><td><p>mark-page</p></td><td><p>C-x C-p</p></td><td><p>Mark page.</p></td></tr><tr><td><p>mark-paragraph</p></td><td><p>M-h</p></td><td><p>Mark paragraph.</p></td></tr><tr><td><p>mark-whole-buffer</p></td><td><p>C-x h</p></td><td><p>Mark buffer.</p></td></tr><tr><td><p>name-last-kbd-macro</p></td><td><p>(none)</p></td><td><p>Name last macro you created (before saving it).</p></td></tr><tr><td><p>negative-argument;capitalize-word</p></td><td><p>M-– M-c</p></td><td><p>Capitalize previous word.</p></td></tr><tr><td><p>negative-argument;downcase-word</p></td><td><p>M-– M-l</p></td><td><p>Lowercase previous word.</p></td></tr><tr><td><p>negative-argument;upcase-word</p></td><td><p>M-– M-u</p></td><td><p>Uppercase previous word.</p></td></tr><tr><td><p>next-line</p></td><td><p>C-n</p></td><td><p>Move to <em class="emphasis">next</em> line (down).</p></td></tr><tr><td><p>other-window</p></td><td><p>C-x o</p></td><td><p>Move to the other window.</p></td></tr><tr><td><p>previous-line</p></td><td><p>C-p</p></td><td><p>Move to <em class="emphasis">previous</em> line (up).</p></td></tr><tr><td><p>query-replace-regexp</p></td><td><p>C-% Meta</p></td><td><p>Query-replace a regular expression.</p></td></tr><tr><td><p>recenter</p></td><td><p>C-l</p></td><td><p>Redraw screen, with current line in center.</p></td></tr><tr><td><p>rename-buffer</p></td><td><p>(none)</p></td><td><p>Change buffer name to specified name.</p></td></tr><tr><td><p>replace-regexp</p></td><td><p>(none)</p></td><td><p>Replace a regular expression unconditionally.</p></td></tr><tr><td><p>re-search-backward</p></td><td><p>(none)</p></td><td><p>Simple regular expression search backward.</p></td></tr><tr><td><p>re-search-forward</p></td><td><p>(none)</p></td><td><p>Simple regular expression search forward.</p></td></tr><tr><td><p>revert-buffer</p></td><td><p>(none)</p></td><td><p>Restore buffer to the state it was in when the file was last saved(or auto-saved).</p></td></tr><tr><td><p>save-buffer</p></td><td><p>C-x C-s</p></td><td><p>Save file (may hang terminal; use C-q to restart).</p></td></tr><tr><td><p>save-buffers-kill-emacs</p></td><td><p>C-x C-c</p></td><td><p>Exit <tt class="literal">emacs</tt>.</p></td></tr><tr><td><p>save-some-buffers</p></td><td><p>C-x s</p></td><td><p>Ask whether to save each modified buffer.</p></td></tr><tr><td><p>scroll-down</p></td><td><p>M-v</p></td><td><p>Move backward one screen.</p></td></tr><tr><td><p>scroll-left</p></td><td><p>C-x <</p></td><td><p>Scroll the window left.</p></td></tr><tr><td><p>scroll-other-window</p></td><td><p>M-C-v</p></td><td><p>Scroll other window.</p></td></tr><tr><td><p>scroll-right</p></td><td><p>C-x ></p></td><td><p>Scroll the window right.</p></td></tr><tr><td><p>scroll-up</p></td><td><p>C-v</p></td><td><p>Move forward one screen.</p></td></tr><tr><td><p>set-fill-prefix</p></td><td><p>C-x .</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>set-mark-command</p></td><td><p>C-@ or C-Space</p></td><td><p>Mark the beginning (or end) of a region.</p></td></tr><tr><td><p>shrink-window</p></td><td><p>(none)</p></td><td><p>Make window shorter.</p></td></tr><tr><td><p>shrink-window-horizontally</p></td><td><p>C-x {</p></td><td><p>Make window narrower.</p></td></tr><tr><td><p>spell-buffer</p></td><td><p>(none)</p></td><td><p>Check spelling of current buffer.</p></td></tr><tr><td><p>spell-region</p></td><td><p>(none)</p></td><td><p>Check spelling of current region.</p></td></tr><tr><td><p>spell-string</p></td><td><p>(none)</p></td><td><p>Check spelling of string typed in minibuffer.</p></td></tr><tr><td><p>spell-word</p></td><td><p>M-$</p></td><td><p>Check spelling of word after cursor.</p></td></tr><tr><td><p>split-line</p></td><td><p>M-C-o</p></td><td><p>Split line at cursor; indent to column of cursor.</p></td></tr><tr><td><p>split-window-vertically</p></td><td><p>C-x 2</p></td><td><p>Divide the current window into two, one on top of the other.</p></td></tr><tr><td><p>split-window-horizontally</p></td><td><p>C-x 3</p></td><td><p>Divide the current window into two, side by side.</p></td></tr><tr><td><p>start-kbd-macro</p></td><td><p>C-x (</p></td><td><p>Start macro definition.</p></td></tr><tr><td><p>suspend-emacs</p></td><td><p>C-z</p></td><td><p>Suspend <tt class="literal">emacs</tt> (use <tt class="literal">exit</tt>or <tt class="literal">fg</tt> to restart).</p></td></tr><tr><td><p>switch-to-buffer</p></td><td><p>C-x b</p></td><td><p>Move to the buffer specified.</p></td></tr><tr><td><p>switch-to-buffer-other-frame</p></td><td><p>C-x 5 b</p></td><td><p>Select a buffer in another frame.</p></td></tr><tr><td><p>switch-to-buffer-other-window</p></td><td><p>C-x 4 b</p></td><td><p>Select a buffer in the other window.</p></td></tr><tr><td><p>text-mode</p></td><td><p>(none)</p></td><td><p>Exit indented text mode; return to text mode.</p></td></tr><tr><td><p>transpose-chars</p></td><td><p>C-t</p></td><td><p>Transpose two letters.</p></td></tr><tr><td><p>transpose-lines</p></td><td><p>C-x C-t</p></td><td><p>Transpose two lines.</p></td></tr><tr><td><p>transpose-paragraphs</p></td><td><p>(none)</p></td><td><p>Transpose two paragraphs.</p></td></tr><tr><td><p>transpose-sentences</p></td><td><p>(none)</p></td><td><p>Transpose two sentences.</p></td></tr><tr><td><p>transpose-words</p></td><td><p>M-t</p></td><td><p>Transpose two words.</p></td></tr><tr><td><p>unexpand-abbrev</p></td><td><p>(none)</p></td><td><p>Undo the last word abbreviation.</p></td></tr><tr><td><p>universal-argument</p></td><td><p>C-u <em class="emphasis">n</em></p></td><td><p>Repeat the next command <em class="emphasis">n</em> times.</p></td></tr><tr><td><p>universal-argument and start-kbd-macro</p></td><td><p>C-u C-x (</p></td><td><p>Execute last macro defined, then add keystrokes to it.</p></td></tr><tr><td><p>upcase-region</p></td><td><p>C-x C-u</p></td><td><p>Uppercase region.</p></td></tr><tr><td><p>upcase-word</p></td><td><p>M-u</p></td><td><p>Uppercase word.</p></td></tr><tr><td><p>view-emacs-news</p></td><td><p>C-h n</p></td><td><p>View news about updates to <tt class="literal">emacs</tt>.</p></td></tr><tr><td><p>view-lossage</p></td><td><p>C-h l</p></td><td><p>What are the last 100 characters I typed?</p></td></tr><tr><td><p>where-is</p></td><td><p>C-h w</p></td><td><p>What is the key binding for this command?</p></td></tr><tr><td><p>write-abbrev-file</p></td><td><p>(none)</p></td><td><p>Write the word abbreviation file.</p></td></tr><tr><td><p>write-file</p></td><td><p>C-x C-w</p></td><td><p>Write buffer contents to file. </p></td></tr><tr><td><p>yank</p></td><td><p>C-y</p></td><td><p>Restore what you've deleted.</p></td></tr></table><p><a name="IXT-7-123151" /><a name="IXT-7-123152" /><hr width="684" align="left" /><div class="navbar"><table width="684" border="0"><tr><td align="left" valign="top" width="228"><a href="ch07_03.htm"><img src="../gifs/txtpreva.gif" alt="Previous" border="0" /></a></td><td align="center" valign="top" width="228"><a href="index.htm"><img src="../gifs/txthome.gif" alt="Home" border="0" /></a></td><td align="right" valign="top" width="228"><a href="ch08_01.htm"><img src="../gifs/txtnexta.gif" alt="Next" border="0" /></a></td></tr><tr><td align="left" valign="top" width="228">7.3. Summary of Commands by Key</td><td align="center" valign="top" width="228"><a href="index/index.htm"><img src="../gifs/index.gif" alt="Book Index" border="0" /></a></td><td align="right" valign="top" width="228">8. The vi Editor</td></tr></table></div><hr width="684" align="left" /><img src="../gifs/navbar.gif" usemap="#library-map" border="0" alt="Library Navigation Links" /><p><p><font size="-1"><a href="copyrght.htm">Copyright © 2003</a> O'Reilly & Associates. All rights reserved.</font></p><map name="library-map"><area shape="rect" coords="1,0,88,96" href="../index.htm"><area shape="rect" coords="90,0,165,96" href="../upt/index.htm"><area shape="rect" coords="168,1,253,107" href="../mac/index.htm"><area shape="rect" coords="255,0,335,97" href="../korn/index.htm"><area shape="rect" coords="337,0,415,109" href="../unixnut/index.htm"><area shape="rect" coords="417,0,512,122" href="../sedawk/index.htm"><area shape="rect" coords="514,0,605,105" href="../lunix/index.htm"><area shape="rect" coords="611,2,694,121" href="../vi/index.htm"></map></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -