mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-22 05:40:08 +00:00
dirhistory: add README (#7239)
This commit is contained in:
parent
9aa8af3d0c
commit
228d7d1041
1 changed files with 17 additions and 0 deletions
17
plugins/dirhistory/README.md
Normal file
17
plugins/dirhistory/README.md
Normal file
|
@ -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 |
|
Loading…
Reference in a new issue