1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-18 10:22:00 +00:00

docs(dirhistory): document keyboard shortcut conflict with Windows Terminal

Related: https://github.com/ohmyzsh/ohmyzsh/issues/8505#issuecomment-886241162
This commit is contained in:
Marc Cornellà 2021-08-14 22:54:07 +02:00
parent 7c5ab01a5f
commit 11e22ed0b5
No known key found for this signature in database
GPG key ID: 0314585E776A9C1B

View file

@ -17,6 +17,9 @@ plugins=(... dirhistory)
| <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 |
NOTE: some terminals might override the ALT+Arrows key bindings (Windows Terminal, for example).
If these don't work check your terminal settings and change them to a different keyboard shortcut.
## Usage
This plugin allows you to navigate the history of previous current-working-directories using ALT-LEFT and ALT-RIGHT. ALT-LEFT moves back to directories that the user has changed to in the past, and ALT-RIGHT undoes ALT-LEFT. MAC users may alternately use OPT-LEFT and OPT-RIGHT.