Author(s): Mickey Petersen
Edition: 2020
Year: 2020
Language: English
Pages: 306
Tags: emacs, text editor, mickey petersen, 2020, mastering emacs
Contents
Introduction
Thank You
2020 Edition Update
What's New
Intended Audience
What You'll Learn
The Way of Emacs
Guiding Philosophy
LISP?
Extensibility
Important Conventions
The Buffer
The Window and the Frame
The Point and Mark
Killing, Yanking and CUA
.emacs.d, init.el, and .emacs
Major Modes and Minor Modes
First Steps
Installing and Starting Emacs
Starting Emacs
The Emacs Interface
Keys
Caps Lock as Control
M-x: Execute Extended Command
Universal Arguments
Discovering and Remembering Keys
Configuring Emacs
The Customize Interface
Evaluating Elisp Code
The Package Manager
Color Themes
Getting Help
The Info Manual
Apropos
The Describe System
The Theory of Movement
The Basics
C-x C-f: Find file
C-x C-s: Save Buffer
C-x C-c: Exits Emacs
C-x b: Switch Buffer
C-x k: Kill Buffer
ESC ESC ESC: Keyboard Escape
C-/: Undo
Window Management
Working with Other Windows
Frame Management
Tab Bars and Tab Lines
Tab Bar Mode
Tab Line Mode
Elemental Movement
Navigation Keys
Moving by Character
Moving by Line
Moving by Word
Moving by S-Expressions
Other Movement Commands
Scrolling
Bookmarks and Registers
Selections and Regions
Selection Compatibility Modes
Setting the Mark
Searching and Indexing
Isearch: Incremental Search
Occur: Print and Edit lines matching an expression
Imenu: Jump to definitions
Helm: Incremental Completion and Selection
IDO: Interactively DO Things
Grep: Searching the file system
Other Movement Commands
Conclusion
The Theory of Editing
Killing and Yanking Text
Killing versus Deleting
Yanking Text
Transposing Text
C-t: Transpose Characters
M-t: Transpose Words
C-M-t: Transpose S-expressions
Other Transpose Commands
Filling and Commenting
Filling
Commenting
Search and Replace
Case Folding
Regular Expressions
Changing Case
Counting Things
Text Manipulation
Editable Occur
Deleting Duplicates
Flushing and Keeping Lines
Joining and Splitting Lines
Whitespace Commands
Keyboard Macros
Basic Commands
Advanced Commands
Text Expansion
Abbrev
DAbbrev and Hippie Expand
Indenting Text and Code
RET: Indenting New lines
TAB: Indenting the Current Line
Indenting Regions
Sorting and Aligning
Sorting
Aligning
Other Editing Commands
Zapping Characters
Spell Checking
Quoted Insert
The Practicals of Emacs
Exploring Emacs
Reading the Manual
Using Apropos
C-h: Exploring Prefix keys
C-h k: Describe what a key does
C-h m: Finding mode commands
Project Management
Xref: Cross-References in Emacs
Working with Log Files
Browsing Other Files
TRAMP: Remote File Editing
The Default Directory and Remote Editing
Multi-Hops and User Switching
EWW: Emacs Web Wowser
Dired: Files and Directories
Navigation
Marking and Unmarking
Operations
Working Across Directories
Shell Commands
Compiling in Emacs
Shells in Emacs
M-x shell: Shell Mode
M-x ansi-term: Terminal Emulator
M-x eshell: Emacs's Shell
Conclusion
Other Resources
Third-Party Packages and Tools
Communities