Commit Graph

3 Commits

Author SHA1 Message Date
Jens Luedicke
8644b5c469 Optimize configuration reload to prevent UI freezing
Implemented non-blocking reload mechanism that processes files
incrementally during idle time to prevent Emacs from freezing.

Changes:
- New default reload-emacs-config: Non-blocking with idle timers
- reload-emacs-config-blocking: Original blocking version
- reload-emacs-config-fast: Uses byte-compiled files for speed
- reload-emacs-config-smart: Only reloads recently changed files
- reload-current-file: Quick reload of current .el file only

Keybindings:
- C-c C-r: Non-blocking reload (new default)
- C-u C-c C-r: Blocking reload (old behavior)
- C-c r: Reload current file
- C-c R: Fast byte-compiled reload

This fixes the lag issue during configuration reload by loading
files one at a time with 0.01s idle gaps between them.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-10 14:59:43 +02:00
Jens Luedicke
7899e5e72d Fix conflicting key binding issues 2025-09-08 15:31:39 +02:00
Jens Luedicke
e3a5872218 Split init.el into seperate modules 2025-09-08 12:14:12 +02:00