Commit Graph

28 Commits

Author SHA1 Message Date
2b94fb15d4 Add lost trailing whitespace visualization 2025-09-22 17:04:53 +02:00
ec91d7af38 Add README.md 2025-09-21 18:22:44 +02:00
7b44a125e9 Fix paths to handle .config/emacs configuration location 2025-09-21 15:37:06 +02:00
Jens Luedicke
634d0674b4 Migrate from Projectile to built-in project.el and fix Org mode
Major changes:
- Replace Projectile with built-in project.el for project management
- Add comprehensive Org mode configuration with TODO keywords and org-kanban support
- Fix multiple parsing errors and keybinding conflicts

Key improvements:
- Faster startup with built-in project.el (no external dependencies)
- Better integration with Eglot LSP client
- Proper Org TODO keyword highlighting and kanban column ordering
- Fixed unbalanced parentheses in init-completion.el and init-utils.el
- Resolved keybinding conflicts (C-c d g → C-c G d, removed C-u C-c C-r)
- Updated all file paths in init-utils.el to use lisp/ subdirectory

The configuration now loads cleanly without errors and maintains backward
compatibility with most Projectile keybindings (C-c p prefix) while also
supporting the standard project.el bindings (C-x p prefix).

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-10 17:33:34 +02:00
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
54d6fd3cce Fix C-Shift-Arrow word selection keybindings
Fixed C-Shift-Left/Right not working for word selection by:
- Creating proper selection functions with region activation
- Using left-word/right-word functions that respect direction
- Adding hooks to ensure bindings persist after CUA mode init
- Setting correct properties for CUA mode compatibility

Also added C-Shift-Up/Down for paragraph selection consistency.

All C-Shift-Arrow combinations now work correctly:
- C-Shift-Left/Right: Select by word
- C-Shift-Up/Down: Select by paragraph

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-10 14:01:45 +02:00
4ba2472236 Add CLAUDE.md for Claude Code guidance
Added comprehensive documentation for Claude Code instances working with this
Emacs configuration, including:
- Core commands for configuration management and emergency fixes
- High-level architecture overview and module organization
- Key operational notes about CUA mode, completion system, and keybindings

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-10 07:40:57 +02:00
bc4e786853 Fix CUA mode, selection keybindings, and replace Corfu with Company
Major improvements to Emacs configuration:

1. Fixed CUA mode and C-Shift-Arrow selection issues
   - Properly configured CUA mode for copy/paste (C-c, C-v, C-x)
   - Fixed C-Shift-Arrow word selection that was being intercepted
   - Added mode-specific CUA disabling for special modes

2. Replaced Corfu with Company mode
   - Removed problematic Corfu configuration causing errors
   - Installed and configured Company for stable auto-completion
   - Set up proper completion triggers and navigation

3. Integrated standalone fix files into existing configuration
   - Merged keybinding-fix.el into relevant config files
   - Added diagnostic functions for debugging keybinding issues
   - Cleaner organization with fixes in their respective modules

4. Enhanced diagnostics
   - Added diagnose-cua-selection for CUA/selection issues
   - Added diagnose-key-conflicts for debugging key bindings
   - Emergency editing restoration functions preserved

All changes tested and verified working.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-10 07:35:41 +02:00
Jens Luedicke
a4328ce3ba Move all *.el files to ./lisp 2025-09-09 16:08:15 +02:00
8567e48c4c Close emacs when view/mode is closed 2025-09-09 07:32:07 +02:00
7cc80e8cf4 Add emacs console helper scripts 2025-09-08 21:16:56 +02:00
Jens Luedicke
7279a53bc0 Disable LSP/Eglot/ESlint for QML files 2025-09-08 16:58:12 +02:00
Jens Luedicke
7899e5e72d Fix conflicting key binding issues 2025-09-08 15:31:39 +02:00
Jens Luedicke
c2185ef827 Apply font settings to all frames 2025-09-08 15:31:08 +02:00
Jens Luedicke
ae84dd699b Add some other feeds for elfeed (mainly politics) 2025-09-08 15:29:07 +02:00
Jens Luedicke
e3a5872218 Split init.el into seperate modules 2025-09-08 12:14:12 +02:00
39d5bafe42 Add shr-config.el (used by mu4e and elfeed) 2025-09-08 07:34:15 +02:00
406b4fba9b Improve searching and filtering in elfeed 2025-09-08 07:33:36 +02:00
9566ac53a4 Tweaks for mail processing with mu4e 2025-09-08 07:32:48 +02:00
ad36b71d14 Fixes for macOS 2025-09-08 07:32:11 +02:00
Jens Luedicke
eac5a385d3 Add god-mode package and configuration 2025-09-05 16:07:01 +02:00
Jens Luedicke
d53e259670 Improve colors in mu4e and elfeed 2025-09-05 15:29:31 +02:00
Jens Luedicke
f95ff8d303 Add dark theme. 2025-09-05 15:08:57 +02:00
Jens Luedicke
28a67f2d5b Add mu4e mail reader configuartion 2025-09-05 14:45:24 +02:00
Jens Luedicke
ec3929a1eb Add Elfeed configuration 2025-09-05 14:42:17 +02:00
Jens Luedicke
4bddd84c6d Add toggle functions for proxy setting 2025-09-05 14:40:22 +02:00
Jens Luedicke
025b43aacf Fix reloading of config 2025-09-05 14:38:35 +02:00
Jens Luedicke
ef79598cfc Initial Emacs configuration with modular dev mode
- Main configuration in init.el
  - Development tools in emacs-dev-config.el (M-x enable-dev-mode)
  - Fixed diff-hl to use VC backend
  - Added Origami code folding to dev mode
  - Fixed Magit-delta to check for delta executable
  - QML files always use qml-mode in dev mode
2025-09-05 13:25:33 +02:00