From 8d1f0a4f86df10bf40d2e8c71bdf6571123fbe90 Mon Sep 17 00:00:00 2001 From: Aaron Bull Schaefer Date: Mon, 20 Jul 2026 09:04:43 -0700 Subject: [PATCH] Document fish key binding for quick access to zp --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 |