Emacs Init Setup
This chapter show you how to customize emacs by setting up the init file.
Table of Contents
Init Basics
Font
Keys
Text Editing
- Type Overwrite Selection
- Tab, Indent
- Auto Insert Closing Bracket (electric-pair-mode)
- isearch Whitespace Regex
- Emacs: Move Cursor by camelCase, snake_case
Completion
File
Restore Things
Backup, Auto Save
- Emacs: Real Automatic Save File
- Emacs: #auto-save# (hashtag filename)
- Emacs: Turn Off Auto Backup~ (tilde postfix)
Line Editing
- Show Line Numbers
- Emacs: Hard-Wrap Lines (fill-region)
- Emacs: Visual Line Mode
- Arrow Key for Screen Line or Logical Line
Line Appearance
- Highlight Current Line
- Show Cursor Column Position
- Ruler Mode
- Emacs: Toggle Word Wrap
- Emacs: Line Wrap
- Line Height
Appearance
Misc
- Emacs: Bookmark Init
- Emacs: Misc Init Tips
- Emacs: Command Name Alias
- Stop Cursor Going into Minibuffer Prompt
Advanced Init Tips
- Emacs: Major Mode
- Emacs: Minor Mode
- Emacs: Show Variable Value and Doc
- M-x customize
- Organize Init File
- Emacs: Byte Compile Elisp Files
- Emacs Init: Hook
- Emacs Init: Environment Variables
- Emacs Init: Get Version, Host Name, User Name, Init Dir