go to nested folder
Posted: 10.05.2022, 14:09
I'm looking for a command similar to "go to folder" (Alt+G), but which allows to enter a part of nested folders, with autocompletion
Example tree (relative to my current location):
So, if I hit (e.g) Shift+Alt+G a simple popup menu opens with the entries
- fdrA1/fdrB1/fdrC1
- fdrA1/fdrB2
If I now enter "C", the entry " fdrA1/fdrB1/fdrC1" is selected. Pressing enter brings me straight to this folder.
User benefit:
* you don't have to click through a deeply nested hierarchy. (in the example: first opne fdrA1, then fdrB1, then fdrC1)
* you don't have to remember in which part of the tree your folder is located
Implementation
* https://github.com/junegunn/fzf might be of help, also exists for Windows
What do you think?
Example tree (relative to my current location):
Code: Select all
fdrA1
|___fdrB1
| |____fdrC1
|
|___fdrB2
- fdrA1/fdrB1/fdrC1
- fdrA1/fdrB2
If I now enter "C", the entry " fdrA1/fdrB1/fdrC1" is selected. Pressing enter brings me straight to this folder.
User benefit:
* you don't have to click through a deeply nested hierarchy. (in the example: first opne fdrA1, then fdrB1, then fdrC1)
* you don't have to remember in which part of the tree your folder is located
Implementation
* https://github.com/junegunn/fzf might be of help, also exists for Windows
What do you think?