vDrop is a simple CLI tool for fast directory search and navigation.
It searches for subdirectories in the current working directory, and when it finds the directory you want to visit, it takes you there.
My motivation was that I was too lazy to keep navigating through multiple directories, and too lazy to search for an existing tool.
vdrop
performs a recursive search starting from your current directory to find the specified subdirectory. You can also add paths to a cache for quicker access later, which is stored in a file in your home directory.
To build the project, just run:
$ make
After building, add the binary to your local binary directory (like ~/.local/bin
or /usr/local/bin
) to use it from anywhere in your terminal:
$ cp vdrop /usr/local/bin/
If you prefer shell aliases, add this line to your shell config file (like .bashrc
or .zshrc
):
alias vdrop='/path/to/vdrop'
Just run:
$ make clean
Searching through large directories, like home
or /
, might take some time. But once a directory is found, it’ll be cached, so future searches will be much faster. You can also manually add directories to the cache for quick access.
Contributions are open, just submit a pull request or open an issue.
For details on usage, run vdrop --help
after building.