diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-11 13:27:26 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-11 13:27:26 -0500 |
| commit | 0ca69ef9c89a6cd6b15dd92dd15c8e3a7b153ff8 (patch) | |
| tree | 9c8deb840971aac1b460da18e927b3d88e87d8c4 /modules/calendar-sync.el | |
| parent | 40e6bf54307e144e4bd67ff6d8ed564ba331f131 (diff) | |
| download | dotemacs-0ca69ef9c89a6cd6b15dd92dd15c8e3a7b153ff8.tar.gz dotemacs-0ca69ef9c89a6cd6b15dd92dd15c8e3a7b153ff8.zip | |
feat(ai-vterm): order the project picker by most-recently-used
The picker's active group (projects with a live tmux session) used to sort alphabetically. It now leads with projects opened this session, most-recent first, then the rest of the active group alpha, then the no-session group alpha. An in-session list (`cj/--ai-vterm-mru'), pushed to the front by `cj/--ai-vterm-show-or-create' on every open, drives the order. An empty list reproduces the old alphabetical behavior.
I also pulled in a fix: `cj/--ai-vterm-tmux-session-name' now sanitizes `.' and `:' in the basename to `_'. tmux disallows those chars in session names and silently rewrites them, so `.emacs.d' really runs in session `aiv-_emacs_d', not `aiv-.emacs.d'. The computed name never matched, so `.emacs.d' was wrongly treated as having no session and landed in the no-session picker group. (A crash-recovery would also spawn a duplicate instead of reattaching.) Sanitizing the same way tmux does keeps the names in sync.
Diffstat (limited to 'modules/calendar-sync.el')
0 files changed, 0 insertions, 0 deletions
