強大而異類的Emacs

來源:互聯網
上載者:User
無意中看到Emacs的一個用法,於是開啟電腦上這個異類的程式。發現似乎根本看不懂菜單的快速鍵,看了Tutorial才知道:

Emacs commands generally involve the CONTROL key (sometimes labelled CTRL or CTL) or the META key.  On some keyboards, the META key is labelled ALT or EDIT or something else (for example, on Sun keyboards, the diamond key to the left of the spacebar is META).  If you have no META key, you can use ESC instead.  Rather than write out META or CONTROL each time we want you to prefix a character, we'll use the following abbreviations:

 C-<chr>  means hold the CONTROL key while typing the character <chr>. Thus, C-f would be: hold the CONTROL key and type f.
 M-<chr>  means hold the META key down while typing <chr>. If there is no META key, type <ESC>, release it, then type the character <chr>.

對於各種它認識的檔案類型,它都會在菜單中出現相應的操作菜單,如果副檔名是.cc/.cpp,會自動添加一個"C++"的菜單,有注釋段落,格式化段落 等功能;如 果副檔名是.htm,菜單會自動添加"HTML","SGML"兩組菜單,有插入一些常用的標籤,如連結,圖片,標題等等。當然這隻是其中一小部分的功 能,希望以後能繼續學習、發現……

在瞎碰時發現:鍵盤上的“Context鍵”(緊挨著Windows鍵的)能起到M-x的作用;而XEmacs比Emacs更符合一般的習慣操作。

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.