Sync Change Dir with Tabs?
Posted: 2023-01-26, 19:22 UTC
Based on request: viewtopic.php?t=4779
I often browse parallel directory structures, so cm_SyncChangeDir is one of my favourite features of tcmd.
Sometimes in the middle of browsing, I want to look up something in another directory, so I open a new tab in one panel. In my ideal universe, the synched browsing would "pause" while the new tab is open, and then resume when I return to the oribinal tab. But unfortunately cm_SyncChangeDir isn't tab-aware.
So if I want to temporarily pause a synchronized browsing session, I have to do the following:
open a new tab
toggle off cm_SyncDirChange
...do whatever in the new tab...
close the new tab
navigate to the original tab
make sure the directories are correct
toggle on cm_SyncDirChange
What I would like is for tcmd to remember which directories are currently set to synchronize changed dirs.
I know the idea of two-panel tabs was discussed and dismissed back when tabs were still under development, but here's a thought: Linked tabs!
FEATURE REQUEST:
>>Locked LINKED PAIR TABS <<
Linked tabs would have the following features:
FEATURE REQUEST / BUG report
>> Synced History traversal <<
cm_SyncChangeDir does not recognize (or at least could have an attempt for) traversal of folders from other triggers/sources/commands:
>>cm_SyncDirChange to be Tab Aware <<
Apologies for the long rambly post. Thanks, and please carry on.
Michael & Ivan
I often browse parallel directory structures, so cm_SyncChangeDir is one of my favourite features of tcmd.
Sometimes in the middle of browsing, I want to look up something in another directory, so I open a new tab in one panel. In my ideal universe, the synched browsing would "pause" while the new tab is open, and then resume when I return to the oribinal tab. But unfortunately cm_SyncChangeDir isn't tab-aware.
So if I want to temporarily pause a synchronized browsing session, I have to do the following:
open a new tab
toggle off cm_SyncDirChange
...do whatever in the new tab...
close the new tab
navigate to the original tab
make sure the directories are correct
toggle on cm_SyncDirChange
What I would like is for tcmd to remember which directories are currently set to synchronize changed dirs.
I know the idea of two-panel tabs was discussed and dismissed back when tabs were still under development, but here's a thought: Linked tabs!
FEATURE REQUEST:
>>Locked LINKED PAIR TABS <<
Linked tabs would have the following features:
- Once activated "the linked tabs", the two tabs from source and destination panel become a locked pair
- if one wants to switch folders, that can't be matched on the destination panel, it should be rejected. One should move to another tab OR unlock
- have the state locked pair recognized by the View AutoSwitchMode (low priority)
- when you switch to a tab from linked locked pair in the source panel, tcmd has a command to find and switch the corresponding tab from the pair in the destination panel. This would prevent us the confusion of switching between tabs and eventually passing through a locked pair, which may lead to an unintended switch of the tab on the destination panel, if automatic switching was to be implemented.
- cm_SyncChangeDir is a setting local to these two linked tabs
FEATURE REQUEST / BUG report
>> Synced History traversal <<
cm_SyncChangeDir does not recognize (or at least could have an attempt for) traversal of folders from other triggers/sources/commands:
- History traversal
- Direct input on the tab location input field
>>cm_SyncDirChange to be Tab Aware <<
- when you switch to one of the linked tabs, in either window TCMD automatically switches to the corresponding (Linked) tab in the other panel
- cm_SyncChangeDir is a setting local to these two linked tabs. Currently is an attempt for a global switch
Apologies for the long rambly post. Thanks, and please carry on.
Michael & Ivan