Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9aa8af3
commit 228d7d1
Showing
1 changed file
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Dirhistory plugin | ||
|
||
This plugin adds keyboard shortcuts for navigating directory history and hierarchy. | ||
|
||
To use it, add `dirhistory` to the plugins array in your zshrc file: | ||
|
||
```zsh | ||
plugins=(... dirhistory) | ||
``` | ||
## Keyboard Shortcuts | ||
|
||
| Shortcut | Description | | ||
|-----------------------------------|-----------------------------------------------------------| | ||
| <kbd>alt</kbd> + <kbd>left</kbd> | Go to previous directory | | ||
| <kbd>alt</kbd> + <kbd>right</kbd> | Undo <kbd>alt</kbd> + <kbd>left</kbd> | | ||
| <kbd>alt</kbd> + <kbd>up</kbd> | Move into the parent directory | | ||
| <kbd>alt</kbd> + <kbd>down</kbd> | Move into the first child directory by alphabetical order | |