From c75da9135066943db4789b2d524cd31c8b4f6b78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0imon=20Let?= Date: Mon, 11 May 2020 20:11:39 +0200 Subject: [PATCH] Add keybindings to help --- README.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7de4ca6..3315d02 100644 --- a/README.md +++ b/README.md @@ -153,12 +153,22 @@ reshctl enable ctrl_r_binding reshctl disable ctrl_r_binding ``` -You can also run the RESH SEARCH app directly as a one-off: +### In-app key bindings + +- Type to search/filter +- Up/Down or Ctrl+P/Ctrl+N to select results +- Right to paste selected command onto the command line so you can edit it before execution +- Enter to execute +- Ctrl+C/Ctrl+D to quit +- Ctrl+G to abort and paste the current query onto the command line +- Ctrl+R to switch between RAW and NORMAL mode + +### Try out RESH SEARCH application without keybinding +You can also run the RESH SEARCH app directly as a one-off: ```sh resh ``` - NOTE: One feature is not available when running RESH SEARCH app directly - arrow right won't paste the selected command onto the command line for editing. ### Arrow key bindings