Download presentation
Presentation is loading. Please wait.
Published byLaura Mäkinen Modified over 5 years ago
1
Day 5 Emacs 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 <del>
Delete key, del character to left of cursor ^ d Delete character under cursor ^ s Search forward ^ r Search backward 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
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.