Day 5 Emacs Editor - PowerPoint PPT Presentation

About This Presentation
Title:

Day 5 Emacs Editor

Description:

... is a little more complicated. First you must have configured emacs ... Control key commands are entered as a single key stroke in conjunction with other keys. ... – PowerPoint PPT presentation

Number of Views:150
Avg rating:3.0/5.0
Slides: 8
Provided by: davidg97
Learn more at: http://www.cs.fsu.edu
Category:
Tags: day | editor | emacs | keys

less

Transcript and Presenter's Notes

Title: Day 5 Emacs Editor


1
Day 5Emacs Editor
  • David A. Gaitros
  • Department of Computer Science
  • Florida State University

2
Emacs
  • Emacs is a little more complicated. First you
    must have configured emacs in your startup script
  • You must be running in a unix windows
    environment on Linux, SunOS, etc. or
  • You must be running xwin32 tunneling with ssh on
    an MS Windows Machine
  • Otherwise the mouse does not work.
  • Most students will use pico from their home
    systems unless you purchase a commercial copy of
    xwin32.

3
Emacs
  • At the unix prompt, type emacs filename and press
    return where filename represents the name of the
    file you want to open.
  • You can start emacs without a filename.
  • The mouse, if configured properly, works just as
    in most word processors.
  • Note the "" is the control key. Control key
    commands are entered as a single key stroke in
    conjunction with other keys.

4
Emacs Key Commands
Key Strokes Action
x s Save buffer in current file
x w Write buffer to a specific file
x f Find a file and copy it into buffer
x c Exit emacs
5
Emacs Key Commands
Key strokes Action
Arrow keys Move Cursor
f Move one space forward
b Move one space back
p Move to previous line
n Move to next line
a Move to beginning of line
e Move to end of line
6
Emacs Key Commands
Key stroke Action
ltdelgt Delete key, del character to left of cursor
d Delete character under cursor
s Search forward
r Search backward
_at_ Mark text
w Cut text from buffer
y paste text into buffer
x u Undo most recent command
_ Alternate undo command
g Cancel Command
7
Emacs
  • Demonstration
Write a Comment
User Comments (0)
About PowerShow.com