diff --git a/README.md b/README.md index 59a5f6b..abd9aed 100644 --- a/README.md +++ b/README.md @@ -59,6 +59,16 @@ export ZP_ROOT="$HOME/src" set -gx ZP_ROOT $HOME/src ``` +> [!TIP] Bind `zp` to a key for quick access: +> +> ```fish +> # bind Ctrl-\ to zp when not inside a zmx session; +> # inside zmx, Ctrl-\ detaches the current session +> if not set -q ZMX_SESSION +> bind ctrl-\\ 'zp; commandline -f execute' +> end +> ``` + Inside the picker: | Key | Action |