blogger visitor

Techucation

A Blog by Malcolm Yoke Hean Low

 Subscribe in a reader




View Malcolm Low's profile on LinkedIn

Malcolm Low

Create Your Badge

 Subscribe in a reader


Enter your email address:

Delivered by FeedBurner

Quick Guide to Emacs

Posted on Saturday, January 07, 2006 at 1:05 PM by Malcolm

Quick Guide to Emacs

Here is a quick guide to emacs. These are a collections of commonly used keystrokes. See also:


Key Definitions

  • Ca-Cb : Press [Control][a] follow by [Control][b].
  • Ma-b : Press [Esc][a] follow by [b].
  • F1-t : Press function key [F1] follow by [t].

Tutorial

  • Please go through the Emacs tutorial If you haven't done so : Ch-t or F1-t

Useful things to put in .emacs

  • Show line number : (line-number-mode 1)
  • Show column number : (column-number-mode 1)
  • Show time : (display-time)

Navigations

  • Quit : Cx-Cc
  • Move between windows : Cx-o
  • Goto a line : Mg

Editing

  • Cut : Ck
  • Paste : Cy
  • Select/mark region : C[space]
  • Exchange mark and point : CxCx
  • Cut rectangle region : Cx-Rk
  • Paste rectangle region : Cx-Ry

Search

  • Quick search forward : Cs
  • Quick search backward : Cr

Keystroke Record/Playback

  • Record : Cx-(
  • Playback : Cx-)

Various Different useful modes

You can enhance XEmacs with various useful features. The following two two packages can be installed with minimal effort. Email me if you require any help in installing them.

  • Flyspell : On-the-fly spelling checker.
  • X-Symbol : Enables the showing of superscript, subscript and greek characters in LaTex.

To check for grammar errors in Latex, the best way is to convert your Latex document to HTML and use one of the online Grammar checkers.


Edited on: Sunday, May 27, 2012 12:17 PM

Posted in General (RSS)