yazi
yazi copied to clipboard
[Feature Request] go pass directories that contains only one single subdirectory
Is your feature request related to a problem? Please describe
In a common java project, there are empty folders servers as package name specifier. For example:
.
└── src
├── main
│  ├── java
│  │  └── xxx
│  │  └── yyy
│  │  └── zzz
│  │  └── tasm
│  │  ├── accounts
│  │  │  ├── model
│  │  │  ├── repos
│  │  │  └── service
│  │  ├── application
│  │  ├── config
│  │  ├── utils
│  │  └── websecurity
│  └── resources
│  ├── static
│  └── templates
└── test
└── java
└── bdic
└── comp3013j
└── group1
└── tasm
└── utils
It would be nice if I can navigate directly from ./src/main/java
directory to ./src/main/java/comp3013j/xxx/yyy/zzz/tasm
directory.
Will you be willing to contribute this feature?
- [X] Yes, I'll give it a shot
Describe the solution you'd like
If a directory only contains one sub-directory, then the ending of its name line can display a simple like ->
, which notifys me that I can go directly into the destination directory using a special keybinding like L
. By pressing L
, I go directly into the destination folder.
Describe alternatives you've considered
No response
Additional context
No response