1 / 8

Introduction to Emacs

Introduction to Emacs. (a Unix, Linux, Mac and Windows text editor). Intro to Emacs. Emacs is a powerful, programmable text editor. It is available for Linux, Unix, Mac, and Windows (from ftp://ftp.gnu.org/gnu/windows/emacs/, xemacs.org, and others) . To run Emacs, simple type emacs

Download Presentation

Introduction to Emacs

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Introduction to Emacs (a Unix, Linux, Mac and Windows text editor)

  2. Intro to Emacs Emacs is a powerful, programmable text editor. It is available for Linux, Unix, Mac, and Windows (from ftp://ftp.gnu.org/gnu/windows/emacs/, xemacs.org, and others). To run Emacs, simple type emacs emacs test.cpp (or if using a GUI by double-clicking or by right-clicking)

  3. Emacs acronyms… Eighty Megabytes And Constantly Swapping Eventually Mallocs All Computer Storage Esc Meta Alt Ctrl Shift Exceptionally Mediocre Algorithm for Computer Scientists Emacs Makes A Computer Slow

  4. Intro to Emacs Emacs is normally in insert mode. Emacs also has a command mode. All commands begin with either: C (the Ctrl key) Hold down the Ctrl key while pressing the listed key. M (meta = either Esc or Alt) Hold down the Alt key while pressing the listed key. Or press and release the Esc key and then press the listed key.

  5. Basic Emacs Commands C-x C-c Quit Emacs. C-x C-s Exit Emacs (saving any changes). C-x u Undo. C-s Search. C-g Quit current command. C-k Kill from the cursor position to end of line. C-y Yank back (what was killed).

  6. Basic Emacs Commands C-v move forward one screenful M-v move backward one screenful C-p move to previous line C-n move to next line C-b move backward a character C-f move forward a character C-a move to beginning of line C-e move to end of line M-< go to beginning of file M-> go to end of file

  7. Basic Emacs Commands copy-paste steps: move to beginning of block C-space or C-@ set mark move to end of block M-w copy move to where you wish to insert C-y yank/paste

  8. Basic Emacs Commands cut-paste steps: move to beginning of block C-space or C-@ set mark move to end of block C-w delete/cut move to where you wish to insert C-y yank/paste

More Related