Editing Code in Emacs
14 hours ago
- #Text Editing
- #Emacs
- #Productivity
- Focus on efficient text editing setup and muscle memory for coding in Emacs.
- Modal editing system recommended for efficient movement and editing, with custom keybinds.
- Minimize keystrokes by avoiding arrow keys and mouse; remap keys for efficiency.
- Use relative line numbers and global-hl-line-mode for better navigation.
- Prefer moving by expressions (sexps) over words for efficient navigation in code.
- Utilize search (isearch, occur) for quick navigation within and across files.
- Registers and marks for temporary bookmarks and quick jumps between locations.
- Kill (cut), copy, and paste operations are streamlined with keybindings prefixed by 'k'.
- Project and buffer management commands are under the 'v' leader key.
- Macros, LSPs (eglot), and rectangle editing enhance productivity for repetitive tasks.
- External packages like ag, diff-hl, magit, and visible-mark recommended for additional functionality.