个人工具

“UbuntuHelp:EmacsHowto”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
(新页面: {{From|https://help.ubuntu.com/community/EmacsHowto}} {{Languages|UbuntuHelp:EmacsHowto}} Parent page: Programming Applications Emacs is the extensible, cus...)
 
第2行: 第2行:
 
{{Languages|UbuntuHelp:EmacsHowto}}
 
{{Languages|UbuntuHelp:EmacsHowto}}
 
Parent page: [[UbuntuHelp:Programming| Programming Applications]]
 
Parent page: [[UbuntuHelp:Programming| Programming Applications]]
 
 
 
 
Emacs is the extensible, customizable, self-documenting real-time display editor.
 
Emacs is the extensible, customizable, self-documenting real-time display editor.
 
 
This article give you a basic introduction to Emacs.
 
This article give you a basic introduction to Emacs.
 
 
== Installing Emacs ==
 
== Installing Emacs ==
 
Install the package '''emacs''' from synaptic or type in a terminal  
 
Install the package '''emacs''' from synaptic or type in a terminal  
第14行: 第9行:
 
sudo apt-get install emacs
 
sudo apt-get install emacs
 
</nowiki></pre>
 
</nowiki></pre>
 
 
== A Quick Introduction ==
 
== 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).
 
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 ===
 
=== Hotkeys ===
 
Here is a list of general hotkeys ('''M''' is '''Meta''' button, '''Alt''' on many keyboards; '''C''' is '''Ctrl'''):
 
Here is a list of general hotkeys ('''M''' is '''Meta''' button, '''Alt''' on many keyboards; '''C''' is '''Ctrl'''):
第30行: 第23行:
 
* '''M-d''' Delete a word
 
* '''M-d''' Delete a word
 
* '''C-x u''' Undo
 
* '''C-x u''' Undo
 
 
== Configuration ==
 
== Configuration ==
 
The main Emacs configuration file for user is ~/.emacs, which Emacs reads on startup. This file written in Emacs Lisp programming language.
 
The main Emacs configuration file for user is ~/.emacs, which Emacs reads on startup. This file written in Emacs Lisp programming language.
 
 
== Further Information ==
 
== Further Information ==
 
The [http://www.emacswiki.org 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.
 
The [http://www.emacswiki.org 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.
 
 
----
 
----
 
[[category:CategoryDocumentation]]
 
[[category:CategoryDocumentation]]
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2007年11月30日 (五) 17:05的版本

Parent page: Programming Applications 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
  • C-s Forward search a string
  • C-r Reverse search a string
  • C-a Move the the beginning of a line
  • C-e Move to the end of a line
  • C-d Delete a character
  • M-d Delete a word
  • C-x u Undo

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.