| Crates.io | easychangedirectory |
| lib.rs | easychangedirectory |
| version | 0.8.0 |
| created_at | 2022-08-14 17:02:09.698866+00 |
| updated_at | 2023-07-20 02:40:18.966617+00 |
| description | Tools for easy cd |
| homepage | |
| repository | https://github.com/dijdzv/easychangedirectory |
| max_upload_size | |
| id | 645491 |
| size | 391,638 |
Tools for easy cd
Dual-licensed under Apache 2.0 or MIT.
Features / Usage / Support shell / Installation / Environment variable
cd functionality can also be used as-is
Command ed
| Key | Description |
|---|---|
↑ k |
Move up |
↓ j |
Move down |
← h |
Move parent directory |
→ l |
Move Child directory |
Home |
Move to top |
End |
Move to bottom |
PageUp |
Skip a little and move up |
PageDown |
Skip a little and move down |
Enter c ; |
Change directory to current directory |
Esc Ctrl+c q |
Exit and return to original directory |
Insert Ctrl+s |
Search mode switch (Char key will not work) |
Backspace |
Delete one character from the search string |
Delete |
Delete all search strings |
V |
Open VSCode in the current directory |
p |
Print the selected filepath |
If it does not work, try restarting the shell.
Install and Register in the shell
cargo install --locked easychangedirectory
Download from Release page
We will add more as needed.
Add to ~/.bashrc (Change as necessary)
eval "$(easychangedirectory --init bash)"
Run . ~/.bashrc as needed
Add to ~/.config/fish/config.fish (Change as necessary)
easychangedirectory --init fish | source
Run . ~/.config/fish/config.fish as needed
Add to the file found by echo $profile
Invoke-Expression (& { (easychangedirectory --init powershell | Out-String) } )
Run . $profile as needed
Add to ~/.zshrc (Change as necessary)
eval "$(easychangedirectory --init zsh)"
Run . ~/.zshrc as needed
You can check all environment variable values with ed --env.
_ED_PWD
1, print current directory after execution_ED_SET_BG
1, set black background_ED_SHOW_INDEX
1, the index is displayed on the left side of the list_ED_VIEW_FILE_CONTENTS
1, the file contents can be viewed_ED_LOG
1, output log to HOME/.easychangedirectory/ed.logHOME is not found, panic ensues.