Skip to content

Commit

Permalink
dirhistory: add README (#7239)
Browse files Browse the repository at this point in the history
  • Loading branch information
MasterOfTheTiger authored and mcornella committed Oct 5, 2018
1 parent 9aa8af3 commit 228d7d1
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions plugins/dirhistory/README.md
@@ -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 |

0 comments on commit 228d7d1

Please sign in to comment.