个人工具

EmacsHowto

来自Ubuntu中文

跳转至: 导航, 搜索

原文出处:

原文作者:

授权许可:创作共用协议Attribution-ShareAlike 2.0 GNU自由文档许可证

翻译人员:IdeaLee

校对人员:

贡献者:

适用版本: 文章状态:完成



Emacs 是一个可扩展的,可定制的,用于文件编制的实时显示的编辑器。

这篇文章对 Emacs 进行基本的介绍。

安装 Emacs

从新立得安装 emacs 软件包或者在终端中输入

sudo apt-get install emacs

快速介绍

你可以输入 emacs -nw 开始 Emacs 的终端模式或者输入 emacs 开始图形模式(或者从 Gnome 的菜单开始)。

热键

这里是一个主要热键的列表 (MMeta键,或者是很多键盘上的 Alt 键; CCtrl 键):

  • C-x C-f 打开文件
  • C-x C-s 保存文件
  • C-x C-c 退出 Emacs

配置

Emacs 对每个用户的主要配置文件是 ~/.emacs,Emacs 在启动时会读取。这个文件是用 Emacs 的 Lisp 编程语言写的。

更多信息

Emacs Wiki是一个社区站点,它搜集了很多 Elisp 代码,以及关于 Elisp 代码和它的风格的一些问题和答案;Elisp 包的介绍以及资源的链接;完整的手册和文档;对它的特点、差别和历史上不同的 Emacs 版本的评论;笑话;对 Emacs 衍生版的看法,也包括了网络其他 Emacs 站点的相关信息。




下面是原文----

Emacs is the extensible, customizable, self-documenting real-time display editor.

This article give you a basic introduction to Emacs.

Installing Emacs

Install the package emacs from synaptic or type in a terminal

sudo apt-get install emacs

A Quick Introduction

You can start Emacs in console mode by typing emacs -nw at the terminal or Emacs in graphical mode by typing emacs (or from Gnome menu).

Hotkeys

Here is a list of general hotkeys (M is Meta button, Alt on many keyboards; C is Ctrl):

  • C-x C-f Open file
  • C-x C-s Save file
  • C-x C-c Exit Emacs

Configuration

The main Emacs configuration file for user is ~/.emacs, which Emacs reads on startup. This file written in Emacs Lisp programming language.

Further Information

The Emacs Wiki is a community website which collects ELisp code, questions and answers related to ELisp code and style; introductions to ELisp packages and links to their sources; complete manuals or documentation fragments; comments on features, differences, and history of different Emacs versions, flavors, and ports; jokes; pointers to clones and Emacs look-alikes, as well as references to other Emacs related information on the Web.




完成