Presentation By:- Komal Sadhwani

Slides:



Advertisements
Similar presentations
CIS 240 Introduction to UNIX Instructor: Sue Sampson.
Advertisements

CS 497C – Introduction to UNIX Lecture 17: - The GNU emacs Editor Chin-Chih Chang
Vi Editor TA for ITIS3100: Xu Fei
Chapter 5 Editing Text Files
1 Using Editors Editors let you create and edit ASCII files UNIX normally includes two editors: vi and Emacs Vi and Emacs are screen editors: they display.
Key Applications Module Lesson 12 — Word Essentials
CSCI 330 T HE UNIX S YSTEM Editing files. E DITOR C ONCEPTS Editing a file is to modify the content of a file Text editor: Enter and modify text in a.
Using Linux Text Editors. Use Non-Graphical Linux Text Editors Graphical Text Editor.
Return to the Word 2007 web page Lesson 2: Creating and Editing Business Letters.
Chapter Three The UNIX Editors. 2 Lesson A The vi Editor.
1 © 2014 John Urrutia. All rights reserved. Chapter 7 The “ Emacs “ Editor.
Introduction to Unix – CS 21 Lecture 8. Lecture Overview More detail on emacs and vi Regular expression matching in emacs and vi.
UNIX Intro vi  vi is the standard UNIX text editor v Contents 1.Why use vi ? 2. vi Basics 3.Moving Around 4.Inserting Text.
Chapter 5 Editing Text Files. Basic Concept A text editor works on a file buffer that is a memory copy of a disk file The disk file is not updated until.
Unix Editors. u Editors in Unix come in two general flavours: –modal editors have "modes" v generally input mode and command mode –input mode allows entry.
Tony Kombol.  Why text edit?  Many programs and features require configuration ▪ Configuration is kept in files ▪ Usually in the /etc directory  Changes.
Unix Session IV.
Chapter Three Text Editing1 System Programming Text Editing.
Chapter 9 Using Text Editors. vi Editor visual Editor, ASCII text editor, no formatting capabilities almost as powerful as MS Word, has 26 clipboards.
Chapter Three The UNIX Editors.
Isecur1ty training center Presented by : Eng. Mohammad Khreesha.
Tutor: Gerry Mc Cann Basic Computer Study for academic Skills.
Key Applications Module Lesson 12 — Word Essentials Computer Literacy BASICS.
CS:414 introduction to Unix and Linux
Chapter 3: Mastering Editors Chapter 3 Mastering Editors (Emacs)
Using Vi(m) This presentation on using the Vi(m) editor will cover:
Formatting and Editing Skills
Guide To UNIX Using Linux Third Edition
Vi Editor.
Unix Fundamentals - Part iii vi Editor
Vi Introduction Tony Kombol.
Linux 104 Training Module File Editing.
Lecture 3 More on editors: emacs and vi COP 3344 Introduction to UNIX.
Formatting and Editing Skills
Document Processing Part 2
Text Editors Vim (Chapter 6) Emacs (Chapter 7)
Keyboarding Objective – Apply formatting and editing features.
Formatting and Editing Skills
You do want to create and edit programs?
Formatting and Editing Skills
Formatting and Editing Skills
Keyboarding Objective – Apply formatting and editing features.
Emacs CSC 135.
Key Applications Module Lesson 12 — Word Essentials
C151 Multi-User Operating Systems
Keyboarding Objective – Apply formatting and editing features.
Formatting and Editing Skills
Formatting and Editing Skills
Chapter 2 Basic vi Editor.
Formatting and Editing Skills
Formatting and Editing Skills
Formatting and Editing Skills
Introduction to Emacs J. Caldwell, N. McCaw, D. Powell
Linux Operations and Administration
Графика в Pascal.
Formatting and Editing Skills
Formatting and Editing Skills
The Emacs Editor Read: Forouzan, Appendix C
Grauer and Barber Series Microsoft Word Chapter One
Key Applications Module Lesson 12 — Word Essentials
CSCI The UNIX System Editing files
Formatting and Editing Skills
Formatting and Editing Skills
Formatting and Editing Skills
Formatting and Editing Skills
Formatting and Editing Skills
In the last class… The vi basics command, input and ex mode
Day 5 Emacs Editor David A. Gaitros Department of Computer Science
Keyboarding Objective – Apply formatting and editing features.
Welcome To Microsoft Word 2016
Presentation transcript:

Presentation By:- Komal Sadhwani Emacs (Editor MACroS) Presentation By:- Komal Sadhwani

Introduction GNU Emacs is one of the most commonly used text editor. EMACS was written in 1976 by Richard Stallman and Guy L. Steele, Jr. as a set of Editor MACroS for the TECO editor. Emacs uses special keys (ESC/Alt and CTRL) to perform editor functions . This editor can do everything. Emacs copies the contents of a file into a temporary buffer and we edit that. The file on disk doesn't change until we save the buffer. Like files, Emacs buffers have names. The name of a buffer is usually the same as the name of the file that we are editing.

Editing Modes of Emacs Mode Function Text Mode For writing text Latex Mode For formatting Latex and .tex files.

Emacs Commands Common file commands C-x C-f open file C-x C-s save current buffer C-x s save all open files C-x C-c exit emacs

Common movement commands C-d delete char C-f forward one char C-b back on char C-n next line C-p previous line C-a beginning of line C-e end of line C-o new line (enter) M-< beginning of file M-> end of file M-d delete word M-f forward one word M-b back one word

Cut and Paste C-[space] set a mark (start of region) C-x C-x jump to C-w cut the region from mark to current cursor location M-w copy region C-y paste region C-k cut to end of line, use multiple times to add to cut buffer

Indenting Text M-x Text mode (enter) C-j New Line C-j C-j Blank line between Paragraph M-x Paragraph indent text mode M-h Mark the Paragraph M-o M-s center text(align)

This Book is about emacs Outline Mode To start Outline mode M-x outline mode(enter) Example:- *Emacs Introduction *Preface **Scope of book This Book is about emacs **Technical Facts *Contents *Chapter-1 **Introduction Emacs Basic features

By using these commands we can move in outline mode. C-c C-n Move to the next heading. C-c C-p Move to the previous heading. C-c C-f Move to the next heading of the same level. C-c C-b Move to the previous heading of same level. C-c C-u Move up one heading level.

Few more commands on Outline mode C-c C-t Hides the body text C-c C-a show all hidden text C-c C-q hide-sublevels C-c C-^ outline-promote C-c C-v outline-demote C-y Paste text (copied)

Bibliography Learning GNU Emacs, 3rd Edition By Debra Cameron , James Elliott , Marc Loy Publisher: O'Reilly

Thank you