zoukankan      html  css  js  c++  java
  • 强大而异类的Emacs

    无意中看到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更符合一般的习惯操作。
  • 相关阅读:
    Jquery源码分析(一)
    Lazyload 延迟加载效果
    20100128
    Linux共享库(so)动态加载和升级
    shell 数组
    Git常用命令解说
    linux shell 数组建立及使用技巧
    linux下查看用户及用户组的方法
    Zypper 用法
    linux shell 数组的长度计算、修改、循环输出等操作
  • 原文地址:https://www.cnblogs.com/wonderow/p/67399.html
Copyright © 2011-2022 走看看