-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: expunge
dirvish--this
| dv-scopes
| this-command
The original purpose of `dirvish--this` was to enable `dired-noselect` to correctly identify its associated Dirvish session. However, maintaining this variable has become increasingly cumbersome due to concurrent extension usage. Furthermore, its functionality overlaps with `dirvish-curr`, resulting in confusing and difficult-to-maintain code. We previously used `dv-scopes` to track Dirvish's context, preventing incorrect session selection across frames, tabs, or perspectives. However, storing this context solely in the session struct proved insufficient. Dirvish's mechanism necessitates saving it buffer-locally instead.
- Loading branch information
1 parent
a22021d
commit 063a439
Showing
5 changed files
with
103 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.