Thank you for the plugin!
I miss the only thing while using it. I rarely need it but it may be useful. Can you implement a feature like Linux bash has? I am talking about "cd -" command.
-- Why [Rationale]
I have a directory that contains all my projects and it has more than 1 nesting level. Adding a hotlink for each project inside it seems meaningless and tedious. So, I added a link to the parent directory "cd::proj" and then enter a project I work at a given moment manually. Often I have opened on both panels two different directories of the same project: one is source dir, another one is bin or test dir. At the same time, I may forget how to some stuff and want to look how I did it in another project a few months ago. So, it results in manual traversing from current directory, a few directories up, then enter old project, a few level down, read/copy old code, and then go back. "cd:-" would be very helpful in this case.
-- Implementation details
0. I suggest a new command "cd:-" to do all the job
1. Every time, one executes "cd:<name>", the plugin remembers the current directory before moving to a selected hot directory
2. When one executes "cd:-", the plugin remembers the current directory, too and then goes to previously saved directory
3. Remembering the current directory for "cd:-" allows a user to switch between two directories even if they are not hot dir as many time as the one wants.
--- Possible workflow
0. One has hot dir "proj" that points to "
%HOME%/projects"
1.
On one panel:
On the other panel
2. One wants to copy a code snippet from some old project:
on the first panel:
Code: Select all
cd:proj // here the current directory - that is <%HOME%/.../myproj/src> - is saved
cd old/unfinished/test23/src
3. Open old file, copy part of it, close
4.
Code: Select all
cd:- // here it saves <%HOME%/.../test23/src> and opens saved <%HOME%/.../myproj/src>
Now executing the same command
cd:- one can switch between "
...test23/src" and "
...myproj/src" as many time as the one needs to copy all required snippets. And, moreover, the one does not need to create a temporary hot dirs for both
".../src directories to open then quickly. It may be very convenient.
I hope my explanation is easy to understand
