The best thing for jumping around (that I know of) is a https://github.com/rupa/z in terminal.
Say I've recently visited these directories:
User/git/HardProject/Code/Feature
User/Projects/HardProject/Documentation/HardFeature
User/Projects/EasyProject/Something
User/Projects/EasyProject/Documentation/HardFeature
I can easily jump to these folders via:
z Code
z HardF
z Easy Feature --> Takes me to User/Projects/EasyProject/Documentation/HardFeature, not User/Projects/EasyProject/Something
The script maintains a list of likely folders to jump based on the folders I've visited.
In XYplorer, "Go To" (Ctrl+G) does something similar, but not quite. I does not support multiple expressions like "Easy Feature" and it seems that some folders I've visited recently aren't listed.
Note: Hotlist might also be considered similar, but there, I have to press down key instead of typing for the best match.
Questions:
1) How does Go To work?
2) Is there an option to have a mix of "Go To" and Z script functionality in XYplorer?
3) Are there any other, better ways of jumping to work folders? How do experienced XYplorer users do it?
Folder jumping and Z script
Re: Folder jumping and Z script
This is a very cool idea. I regularly use z in my shell.
Something similar can be written as an interesting script project, but scripted solutions are going to be severely limited, as neither the hotlist nor the history can be read by scripts at the moment (afair); and furthermore, recentlocations, the only mru list accessible by scripts, is limited to 64 entries only.
Moreover I'm using FluxTorpedoe's excellent Session Manager script, which makes it a breeze to switch between my most efficient preset profiles for different work projects.
My workflow is usually limited to a very well-defined set of oft-juxtaposed folders, so that affects navigation efficiency as well.
So I guess, after using XYplorer for a while, everyone ends up with an efficient blend of all the different navigation features that's suited to their own use case.
*: that said, I'm sure z-like browsing will make navigation much much faster, and would love to this as a native feature . Moved to Wishes.
[edited]
Something similar can be written as an interesting script project, but scripted solutions are going to be severely limited, as neither the hotlist nor the history can be read by scripts at the moment (afair); and furthermore, recentlocations, the only mru list accessible by scripts, is limited to 64 entries only.
goto accepts anything accepted by the addressbar. there's no magic.
I can't speak for other long-time users, but I myself find the hotlist and minitree very helpful for rapid navigation among recent folders. In addition, frequent locations/work folders are pinned to the catalog+favorite folders, and/or aliased to shortcodes (eg @res takes me to %Documents%Resources). When it comes to history or folder hierarchy, quick alt+left/right/up/down and breadcrumb feels fast enough * . Plus, don't forget tabs! I have [locked] tabs to important folders so they are always at hand, and iconization makes them take up very little screen space.
Moreover I'm using FluxTorpedoe's excellent Session Manager script, which makes it a breeze to switch between my most efficient preset profiles for different work projects.
My workflow is usually limited to a very well-defined set of oft-juxtaposed folders, so that affects navigation efficiency as well.
So I guess, after using XYplorer for a while, everyone ends up with an efficient blend of all the different navigation features that's suited to their own use case.
*: that said, I'm sure z-like browsing will make navigation much much faster, and would love to this as a native feature . Moved to Wishes.
[edited]
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
-
- Site Admin
- Posts: 60604
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Folder jumping and Z script
"z Easy Feature" is the only pattern that does not currently work in XYplorer, the others (without the leading z, of course) work in the Address Bar and Go To, BUT only for locations that have been enterered through Address Bar or Go To.
Then is also a list "Go | Recent Locations..." with a live filter for all recent locations (no matter how they have been entered).
All in all, as Sammay already said, there are abundant navigation methods in XY. I currently don't plan to add yet another one.
Welcome to the club anyway!
Don
Then is also a list "Go | Recent Locations..." with a live filter for all recent locations (no matter how they have been entered).
All in all, as Sammay already said, there are abundant navigation methods in XY. I currently don't plan to add yet another one.
Welcome to the club anyway!
Don
FAQ | XY News RSS | XY Twitter
Re: Folder jumping and Z script
I've written a proof-of-concept script here: viewtopic.php?f=7&t=20590&p=170466#p170466
Don, could you let scripts see the history and the hotlist?
Don, could you let scripts see the history and the hotlist?
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
-
- Site Admin
- Posts: 60604
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Folder jumping and Z script
History can be tab bound (Configuration | General | Refresh, Icons, History | History | History per tab) which makes it a bit complicated. But Recent Locations would be possible I think.
FAQ | XY News RSS | XY Twitter
Re: Folder jumping and Z script
eh, recent locations is already available, you meant hotlist?
How do you feel about something like this:
Yeah, and who disables that.
How do you feel about something like this:
tab('get', 'history', $tabindex);
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
Re: Folder jumping and Z script
Thanks, works fine!
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]