Upgrade to Pro — share decks privately, control downloads, hide ads and more …

A quick introduction to Emacs

A quick introduction to Emacs

A small walk through of the history of Emacs and some basics to help you out to get started. Shared at the Neo office in Singapore, a vile den of vim users who has yet to see the light.

Avatar for Björn Andersson

Björn Andersson

November 10, 2014
Tweet

More Decks by Björn Andersson

Other Decks in Technology

Transcript

  1. I use Emacs, which might be thought of as a

    thermonuclear word processor. — Neal Stephenson
  2. Emacs is a great 
 operating system, 
 lacking only

    a decent editor — Vile VI Virtuoso
  3. Genesis • Began in the ‘70s • Editor • MIT

    AI Labs • Current C version from the ‘80s
  4. Genesis • Began in the ‘70s • Editor • MIT

    AI Labs • Current C version from the ‘80s • First project from GNU
  5. Point, Mark and Regions • Point • Mark • Region

    is the area between mark and point
  6. Movement • f - forward • b - backward •

    p - previous • n - next • a - beginning
  7. Movement • f - forward • b - backward •

    p - previous • n - next • a - beginning • e - end
  8. Movement • f - forward • b - backward •

    p - previous • n - next • a - beginning • e - end • CTRL - one character
  9. Movement • f - forward • b - backward •

    p - previous • n - next • a - beginning • e - end • CTRL - one character • Meta / Alt - one word
  10. Incremental search • When you’re looking for something, search •

    Movement commands are for when searching isn’t viable
  11. Incremental search • When you’re looking for something, search •

    Movement commands are for when searching isn’t viable • No side effects
  12. Built-in help • C-h ? • C-h m Shows an

    explanation of the current mode
  13. Built-in help • C-h ? • C-h m • C-h

    c Shows what a keyboard combo calls
  14. Package management • Built-in since version 24 • A couple

    of different repositories • ELPA - The one sanctioned by FSF
  15. Package management • Built-in since version 24 • A couple

    of different repositories • ELPA • MELPA - A curated repository, less buggy packages
  16. Package management • Built-in since version 24 • A couple

    of different repositories • ELPA • MELPA • Marmalade - Anyone can add
  17. Where do I start? • Use someones config • Neo

    emacs-config looks pretty good 
 github.com/neo/emacs-config
  18. Where do I start? • Use someones config • Neo

    emacs-config looks pretty good github.com/neo/emacs-config • Jason Milkins github.com/ocodo/emacs.d
  19. Where do I start? • Use someones config • Neo

    emacs-config looks pretty good github.com/neo/emacs-config • Jason Milkins • My config github.com/gaqzi/emacs.d
  20. Where do I start? • Use someones config • Neo

    emacs-config looks pretty good github.com/neo/emacs-config • Jason Milkins • My config • C-h t To start and go through the tutorial
  21. Where do I start? • Use someones config • Neo

    emacs-config looks pretty good github.com/neo/emacs-config • Jason Milkins • My config • C-h t
  22. Lets all give praise to St. IGNUCius Using the editor

    of the beast is not a sin in the church of Emacs.
  23. Lets all give praise to St. IGNUCius Using the editor

    of the beast is not a sin in the church of Emacs.
  24. Lets all give praise to St. IGNUCius Using the editor

    of the beast is not a sin in the church of Emacs. It’s a penance.