aboutsummaryrefslogtreecommitdiff
path: root/modules/dirvish-config.el
Commit message (Collapse)AuthorAgeFilesLines
* fix: restore daemon icons and consolidate nerd-icons setupCraig Jennings2026-05-071-1/+19
| | | | | | | | | | I replaced the load-time icon-stub block in keyboard-compat with per-call :around advice that checks display-graphic-p against the rendering frame. The old block ran at module-load. Under daemon startup no frame exists yet, so display-graphic-p returned nil and the empty-string stubs installed permanently. Every GUI client connecting to that daemon then saw blanks. The new shape lets one daemon serve real icons to GUI clients and blanks to terminal clients. I also pulled the nerd-icons-completion and nerd-icons-ibuffer integrations, the package install, and a new tint helper into modules/nerd-icons-config.el. Per-feature use stays in the consuming module (dashboard, dirvish, keyboard-compat). The malformed cons-cell on the marginalia hook in selection-framework.el got fixed in the move. Added a default darkgoldenrod tint, a :filter-return advice on nerd-icons-icon-for-dir so dir icons pick up a color face, and a buffer-local face-remap in dired-mode-hook so plain files in dired render in shadow grey. 13 tests across 3 new files cover the per-call gate, the dir-color helper (idempotent under nerd-icons' memoized return strings), and the bulk-tint helper.
* feat(dirvish): add TrueNAS backups quick access shortcutCraig Jennings2026-02-051-0/+1
| | | | Add rbk shortcut to access /mnt/vault/backups on truenas.local
* chore: minor housekeeping updatesCraig Jennings2026-02-041-1/+2
| | | | | | | - Add typo correction: should't -> shouldn't - Add dirvish shortcut pcr for career project - Rename pc -> pcl for clipper project - Minor whitespace cleanup in init.el
* style(dirvish): normalize indentation and add TrueNAS shortcutsCraig Jennings2026-02-041-192/+194
| | | | | - Convert tabs to spaces for consistent formatting - Add quick-access entries for truenas.local and truenas (tailscale)
* feat(dirvish): add wallpaper setter with X11/Wayland supportCraig Jennings2026-02-011-4/+23
| | | | | cj/set-wallpaper uses feh on X11, swww on Wayland. Replaces nitrogen-based lambda with proper function.
* feat(dirvish): update shortcuts for health and homelab projectsCraig Jennings2026-01-101-1/+2
| | | | Changed ph to phl for homelab, added phx for new health project.
* feat(dirvish): add project shortcuts and remove scratch font overrideCraig Jennings2026-01-091-0/+3
| | | | | Added dirvish quick-access shortcuts for homelab, kit, and nextjob projects. Removed 16pt font size override from scratch buffer startup hook.
* feat(dwim-shell): fix M-D menu binding and enhance audio extractionCraig Jennings2025-11-241-7/+8
| | | | | | | | | | | | | | | | | | | | - Fix dwim-shell-commands-menu keybinding in dirvish/dired - Remove :after (dired dirvish) which prevented package loading - Add :demand t to load package immediately at startup - Move keybindings inside :config block after menu function definition - M-D now works immediately in dirvish without manual trigger - Enhance extract-audio-from-video function - Fix :extensions parameter (was regex string, now proper list) - Change from copy to AAC re-encoding for codec compatibility - Add interactive bitrate selection (64k/96k/128k/192k) - Fixes Opus codec compatibility issues with M4A containers - Remove conflicting keybindings - Remove music-config p binding in dirvish (was overriding path copy) - Clean up extraneous requires/hooks from troubleshooting - Add TODO for dwim-shell-command status dashboard [#D priority]
* feat(dirvish): Add project clipper shortcut (pc)Craig Jennings2025-11-181-0/+1
|
* refactor(dirvish): Rename project shortcuts for consistencyCraig Jennings2025-11-151-2/+2
| | | | | | | | - Rename "pD" to "pdx" for ~/projects/documents/ - Rename "pd" to "pdl" for ~/projects/danneel/ Uses consistent naming: pdx (documents), pdl (danneel), pl (elibrary), pf (finances), pjr (jr-estate).
* feat(dirvish): Add dropbox shortcut and fix directory pathsCraig Jennings2025-11-151-3/+4
| | | | | | | | | - Add "db" shortcut for ~/documents/dropbox/ - Update "lx" path from ~/lectures/ to ~/archive/lectures/ - Rename "sv" to "spv" and update path to ~/sync/phone/videos/ - Fix "tg" path to use org-dir instead of sync-dir All shortcuts now point to existing directories.
* feat: Add AssemblyAI transcription backend with speaker diarizationCraig Jennings2025-11-061-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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).
* feat:dirvish-config: Enable file marking for mu4e attachmentsCraig Jennings2025-10-311-0/+3
| | | | | Add 'turn-on-gnus-dired-mode' to 'dired-mode-hook' to facilitate marking files in Dirvish for attachment in mu4e emails.
* fix(dirvish): move deadgrep from D to G, preserve dired-do-delete on DCraig Jennings2025-10-291-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* feat(dirvish): add file duplication with 'd' key, move deadgrep to 'D'Craig Jennings2025-10-291-1/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* refactor:dirvish: Remove redundant nerd-icons setupCraig Jennings2025-10-251-5/+0
| | | | | Move the `nerd-icons` setup from `dirvish-config.el` to `font-config.el` to consolidate icon configurations.
* refactor:dirvish: remove unused dired sidebar codeCraig Jennings2025-10-251-24/+0
| | | | | | | 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.
* feat(dirvish-config): Add sidebar attribute settingCraig Jennings2025-10-251-1/+2
| | | | Add `dirvish-side-attributes` for explicit sidebar configuration.
* feat:dirvish: shortcuts for Google Drive, remote git:cjennings.netCraig Jennings2025-10-251-2/+4
| | | | | Include shortcuts for Google Drive in documents and add a remote access path for git at cjennings.net in the dirvish configuration.
* feat:dirvish-config: Add absolute path copy functionalityCraig Jennings2025-10-231-2/+10
| | | | | | | | 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.
* refactor(dirvish-config): streamline commentary and key bindingsCraig Jennings2025-10-231-87/+61
| | | | | | | | 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.
* refactor: dirvish: Enhance Dirvish configuration and key bindingsCraig Jennings2025-10-201-51/+88
| | | | | | | | - 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.
* refactor: created specific org-dir variable for ~/sync/orgCraig Jennings2025-10-181-9/+7
|
* feat: complete music/dired integration with dired add to playlistCraig Jennings2025-10-121-1/+1
|
* changing repositoriesCraig Jennings2025-10-121-0/+403