summaryrefslogtreecommitdiff
path: root/plugins/dirhistory
diff options
context:
space:
mode:
authorMarc Cornellà <hello@mcornella.com>2021-08-14 22:54:07 +0200
committerMarc Cornellà <hello@mcornella.com>2021-08-14 22:56:14 +0200
commit11e22ed0b5c1aebd6e990ea7a885bdf03ab6555a (patch)
tree8f5d4b8260cf5073abcc080e189b4378907538d5 /plugins/dirhistory
parent7c5ab01a5f7b07481182108117db070b8cabb2e6 (diff)
downloadzsh-11e22ed0b5c1aebd6e990ea7a885bdf03ab6555a.tar.gz
zsh-11e22ed0b5c1aebd6e990ea7a885bdf03ab6555a.tar.bz2
zsh-11e22ed0b5c1aebd6e990ea7a885bdf03ab6555a.zip
docs(dirhistory): document keyboard shortcut conflict with Windows Terminal
Related: https://github.com/ohmyzsh/ohmyzsh/issues/8505#issuecomment-886241162
Diffstat (limited to 'plugins/dirhistory')
-rw-r--r--plugins/dirhistory/README.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/dirhistory/README.md b/plugins/dirhistory/README.md
index 223650727..602fc8284 100644
--- a/plugins/dirhistory/README.md
+++ b/plugins/dirhistory/README.md
@@ -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.