Skip to content

Reuse a terminal cd'd into the project in ghostel-project - #808

Merged
dakra merged 1 commit into
dakra:mainfrom
vjohansen:project-reuse
Nov 12, 2026
Merged

dakra merged 1 commit into
dakra:mainfrom
vjohansen:project-reuse

Conversation

@vjohansen

Copy link
Copy Markdown
Contributor

A terminal started with ghostel-new and cd'd into a project counts as the project's for ghostel-project-next and ghostel-project-list-buffers, but ghostel-project missed it and started a second terminal. It reused only a terminal it had started itself, found by its identity.

Without a prefix argument, switch to the most recently used buffer of ghostel-project-buffer-list, so ghostel-project-buffer-scope decides for ghostel-project too. A prefix argument still selects or creates an instance as before.

A terminal started with ghostel-new and cd'd into a project counts as
the project's for ghostel-project-next and ghostel-project-list-buffers,
but ghostel-project missed it and started a second terminal.  It reused
only a terminal it had started itself, found by its identity.

Without a prefix argument, switch to the most recently used terminal
of ghostel-project-buffer-list, skipping other kinds such as exec and
compile buffers, so ghostel-project-buffer-scope decides for
ghostel-project too.  A prefix argument still selects or creates an
instance as before.
@dakra
dakra force-pushed the project-reuse branch 2 times, most recently from 7d096e4 to 197a2ff Compare November 12, 2026 16:56
@dakra
dakra merged commit 197a2ff into dakra:main Nov 12, 2026

This branch was previously deployed

1 inactive deployment
github-pages — 197a2ffa Deployed Nov 12, 2026 by dakra via deploy #268
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants