diff options
author | Tuowen Zhao <ztuowen@gmail.com> | 2020-02-12 18:07:38 -0700 |
---|---|---|
committer | Tuowen Zhao <ztuowen@gmail.com> | 2020-02-12 18:07:38 -0700 |
commit | 93a2003db7738e2255a4589ef2073df1be34fe02 (patch) | |
tree | c2f6b378ffae6d4f433acf2a1931d1cc1f3f0574 /plugins/jump/README.md | |
parent | 891ef3d57b6d5e38e10c0894c3d956416adc95e2 (diff) | |
parent | a6df94d2c677c6d28c5ee339975b7a56a2f67e21 (diff) | |
download | zsh-93a2003db7738e2255a4589ef2073df1be34fe02.tar.gz zsh-93a2003db7738e2255a4589ef2073df1be34fe02.tar.bz2 zsh-93a2003db7738e2255a4589ef2073df1be34fe02.zip |
Merge branch 'master' of https://github.com/ohmyzsh/ohmyzsh
Diffstat (limited to 'plugins/jump/README.md')
-rw-r--r-- | plugins/jump/README.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/plugins/jump/README.md b/plugins/jump/README.md index ed6415289..1b0ce68c0 100644 --- a/plugins/jump/README.md +++ b/plugins/jump/README.md @@ -17,3 +17,15 @@ plugins=(... jump) | `mark [mark-name]` | Create a mark with the given name or with the name of the current directory if none is provided | | `unmark <mark-name>` | Remove the given mark | | `marks` | List the existing marks and the directories they point to | + +## Key bindings + +Pressing `CTRL`+`G` substitutes the written mark name for the full path of the mark. +For example, with a mark named `mymark` pointing to `/path/to/my/mark`: +```zsh +$ cp /tmp/file mymark<C-g> +``` +will become: +```zsh +$ cp /tmp/file /path/to/my/mark +``` |