Commit Graph
2 Commits
Author SHA1 Message Date
sankalp 50b8865249 feat(lua/config): refactor and extend key mappings
The configuration tidies up key‑mapping definitions, adopts consistent quoting, adds convenient navigation shortcuts, and improves visual‑mode and search handling while fixing small bugs.

- New Features
  - Added <leader>a shortcut to select all lines.
  - Added wrap‑selection shortcuts using single and double quotes.
  - Added <leader>re shortcut to replace the word under the cursor.
  - Added toggle for inlay hints via <leader>th.
  - Updated terminal mode mappings for quicker exit.
- Enhancements
  - Consolidated mapping definitions with clearer descriptions.
  - Replaced deprecated key codes with explicit '<Space>' and single‑quote syntax.
  - Refined operator‑pending mappings for paste and cut to avoid clipboard overrides.
  - Improved visual‑mode navigation with <A-k>/<A-j> and block movement.
  - Fixed arrow‑key no‑ops to use explicit '<Up>' etc. strings.
  - Simplified fold toggles with clearer function bodies.
- Bug Fixes
  - Corrected mapping of '<esc>' in insert/normal modes to include proper command sequencing.
  - Fixed missing quotes around string literals in several mappings.
  - Ensured consistent use of single quotes for Lua strings throughout.
2026-02-20 23:56:55 +05:45
sankalp d3592bd80a refactor: restructure core modules into config directory for better organization 2025-10-17 15:33:11 +05:45