summaryrefslogtreecommitdiff
path: root/modules/dirvish-config.el
AgeCommit message (Collapse)Author
2025-11-06feat: Add AssemblyAI transcription backend with speaker diarizationCraig Jennings
Integrated AssemblyAI as the third transcription backend alongside OpenAI API and local-whisper, now set as the default due to superior speaker diarization capabilities (up to 50 speakers). New Features: - AssemblyAI backend with automatic speaker labeling - Backend switching UI via C-; T b (completing-read interface) - Universal speech model supporting 99 languages - API key management through auth-source/authinfo.gpg Implementation: - Created scripts/assemblyai-transcribe (upload → poll → format workflow) - Updated transcription-config.el with multi-backend support - Added cj/--get-assemblyai-api-key for secure credential retrieval - Refactored process environment handling from if to pcase - Added cj/transcription-switch-backend interactive command Testing: - Created test-transcription-config--transcription-script-path.el - 5 unit tests covering all 3 backends (100% passing) - Followed quality-engineer.org guidelines (test pure functions only) - Investigated 18 test failures: documented cleanup in todo.org Files Modified: - modules/transcription-config.el - Multi-backend support and UI - scripts/assemblyai-transcribe - NEW: AssemblyAI integration script - tests/test-transcription-config--transcription-script-path.el - NEW - todo.org - Added test cleanup task (Method 3, priority C) - docs/NOTES.org - Comprehensive session notes added Successfully tested with 33KB and 4.1MB audio files (3s and 9s processing). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-31feat:dirvish-config: Enable file marking for mu4e attachmentsCraig Jennings
Add 'turn-on-gnus-dired-mode' to 'dired-mode-hook' to facilitate marking files in Dirvish for attachment in mu4e emails.
2025-10-29fix(dirvish): move deadgrep from D to G, preserve dired-do-delete on DCraig Jennings
The previous commit incorrectly moved deadgrep to 'D', which conflicts with the important dired-do-delete command (immediate delete of marked files). This commit moves deadgrep to 'G' instead. ## Changes **prog-general.el:** - Move cj/deadgrep-here from 'D' to 'G' (was dired-do-chgrp, rarely used) **dirvish-config.el:** - Updated Commentary to document both 'D' and 'G' keybindings - 'D' remains dired-do-delete (standard dired immediate delete) - 'G' is now deadgrep search ## Final Keybinding Map | Key | Binding | Purpose | |-----|-------------------------------|--------------------------------| | d | cj/dirvish-duplicate-file | Duplicate with "-copy" suffix | | D | dired-do-delete | Delete marked files (standard) | | g | dirvish-quick-access | Quick directory menu | | G | cj/deadgrep-here | Search with deadgrep | Capital G is mnemonic for "Grep" and doesn't conflict with important dired commands. dired-do-chgrp is rarely used and not a loss. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-29feat(dirvish): add file duplication with 'd' key, move deadgrep to 'D'Craig Jennings
This commit adds a convenient file duplication function to dirvish and reorganizes keybindings to avoid conflicts. ## Changes **1. New function: cj/dirvish-duplicate-file (dirvish-config.el:150)** Duplicates the file at point with "-copy" suffix before the extension: - report.pdf → report-copy.pdf - script.el → script-copy.el - README → README-copy Features: - Prevents duplicating directories (files only) - Checks if target exists and prompts to overwrite - Refreshes buffer automatically after copying - Shows clear message with old and new names **2. Keybinding changes** dirvish-config.el: - Bound 'd' to cj/dirvish-duplicate-file (was dired-flag-file-deletion) - Updated Commentary section to document new binding prog-general.el: - Moved cj/deadgrep-here from 'd' to 'D' (capital D) - More mnemonic: D for Deadgrep - Avoids conflict with new duplicate function ## Rationale The 'd' key is prime real estate in file managers, and duplicating files is a very common operation. The standard dired-flag-file-deletion is still available via 'x' or the mark-and-delete workflow. Deadgrep on 'D' is more discoverable (capital D for Deadgrep) and less likely to be pressed accidentally. ## Usage In dirvish, navigate to a file and press: - 'd' - Duplicate file with "-copy" suffix - 'D' - Search with deadgrep in current directory 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-25refactor:dirvish: Remove redundant nerd-icons setupCraig Jennings
Move the `nerd-icons` setup from `dirvish-config.el` to `font-config.el` to consolidate icon configurations.
2025-10-25refactor:dirvish: remove unused dired sidebar codeCraig Jennings
Remove unused functions and configurations related to dired-sidebar and nerd-icons-dired. This cleans up the code and reduces unnecessary dependencies within the dashboard-config.el and dirvish-config.el modules.
2025-10-25feat(dirvish-config): Add sidebar attribute settingCraig Jennings
Add `dirvish-side-attributes` for explicit sidebar configuration.
2025-10-25feat:dirvish: shortcuts for Google Drive, remote git:cjennings.netCraig Jennings
Include shortcuts for Google Drive in documents and add a remote access path for git at cjennings.net in the dirvish configuration.
2025-10-23feat:dirvish-config: Add absolute path copy functionalityCraig Jennings
Introduce the 'L' key binding to copy the absolute file path in Dirvish. Extend `cj/dired-copy-path-as-kill` function to support force copying of absolute paths with the new `force-absolute` argument. This enhances the path copying capabilities by allowing users to directly copy absolute paths when needed.
2025-10-23refactor(dirvish-config): streamline commentary and key bindingsCraig Jennings
Condensed the commentary section to enhance readability. Reorganized key bindings to follow a consistent format and moved `dired-mode` auto-reversion to a separate expression. Simplified the `use-package` declaration with a deferred init and added mode overrides.
2025-10-20refactor: dirvish: Enhance Dirvish configuration and key bindingsCraig Jennings
- Expand commentary with comprehensive notes on Dirvish features and key bindings. - Add functions from dired for extended file management capabilities. - Introduce new hooks and improve existing configuration for better integration of features like history navigation, file previews, and quick access directories. - Adjust key bindings for more intuitive actions in dirvish-mode, and add contextually relevant lambda functions.
2025-10-18refactor: created specific org-dir variable for ~/sync/orgCraig Jennings
2025-10-12feat: complete music/dired integration with dired add to playlistCraig Jennings
2025-10-12changing repositoriesCraig Jennings