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>
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>