summaryrefslogtreecommitdiff
path: root/modules/custom-ordering.el
AgeCommit message (Collapse)Author
4 daysfeat+test: custom-ordering: line manipulation utils + testsCraig Jennings
Introduce new functions cj/toggle-quotes, cj/reverse-lines, and cj/number-lines for line manipulation. cj/toggle-quotes swaps quotes within a region, cj/reverse-lines reverse the line order, and cj/number-lines adds line numbers with a customizable format, supporting zero-padding. Update keymap with new bindings. Add comprehensive tests for each function.
4 daysfeat+test:ordering: add prefix/suffix to arrayify/convenience funcsCraig Jennings
Enhanced cj/--arrayify with optional prefix/suffix parameters for flexible formatting: - prefix: string to prepend (e.g., "[" or "(") - suffix: string to append (e.g., "]" or ")") Added convenience functions: - cj/listify: unquoted list (a, b, c) - cj/arrayify-json: JSON array ["a", "b", "c"] - cj/arrayify-python: Python list ["a", "b", "c"] Updated keybindings: - C-; o l → cj/listify - C-; o j → cj/arrayify-json - C-; o p → cj/arrayify-python - C-; o L → cj/comma-separated-text-to-lines (moved from 'l')
5 daysrefactor:keymaps: Replace define-prefix-command with defvar-keymapCraig Jennings
Refactor the keymap definitions across multiple modules by replacing `define-prefix-command` with `defvar-keymap`. This simplifies the keymap setup and integrates better with the `which-key` package for enhanced documentation and usability. Updated modules include custom-ordering, custom-text-enclose, custom-whitespace, mail-config, music-config, org-drill-config, test-runner, and vc-config.
8 daysrefactor: unify and simplify key binding setupsCraig Jennings
Optimized key binding configurations across modules for consistency and reduced redundancy. Improved conditional requiring to handle errors gracefully in `music-config.el`, ensuring robustness across different machine environments. Eliminated comments clutter and adjusted function definitions to adhere to revised standards.
11 daysrefactor(custom-ordering): Use keymap-set for key bindingsCraig Jennings
Replace define-key with keymap-set for consistency in key binding syntax within the custom-ordering module. This change improves readability and modernizes the code.
11 daysdocs: custom-ordering: Enhance commentary and function descriptionsCraig Jennings
- Expand the module commentary to describe functions for text conversion and sorting. - Add new keymap information. - Improve function docstrings for clarity and consistency.
2025-10-12maint: remaining custom functions grouped into separate modulesCraig Jennings