From 26897b8534d50ed077e7ce77ab0bea3d1f2c9527 Mon Sep 17 00:00:00 2001 From: Martin Dvorak Date: Sun, 12 Aug 2018 23:37:33 +0200 Subject: [PATCH] Fixing doc keyboard shortcuts description which resolves #288. --- DOCUMENTATION.md | 8 ++++---- INSTALLATION.md | 2 +- README.md | 2 +- man/hh.1 | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/DOCUMENTATION.md b/DOCUMENTATION.md index 3362949..2d5257b 100644 --- a/DOCUMENTATION.md +++ b/DOCUMENTATION.md @@ -33,7 +33,7 @@ Table of contents: ## Features -HSTR is typically started by pressing Ctrl-r after +HSTR is typically started by pressing Ctrlr after you configure it for this shorcut for your shell. However, you can run it as a normal program just by typing: @@ -80,10 +80,10 @@ HSTR allows you to store and manage your favorite commands. A new favorite command can be added from -ranking or raw history view by pressing Ctrl-f. +ranking or raw history view by pressing Ctrlf. You can check your favorite commands by choosing -favorite view - rotate views using Ctrl-/ or start +favorite view - rotate views using Ctrl/ or start `hh` by adding `favorites` to `HH_CONFIG` environment property. A favorite command can be choosen just by pressing `ENTER` when on command in favorite view. @@ -139,7 +139,7 @@ hh --kill-last-command ``` See configuration section for how to bind this functionality to -a key - bound to Ctrl+x k by default. +a key - bound to Ctrlx k by default. ## Examples diff --git a/INSTALLATION.md b/INSTALLATION.md index 4b70c7a..254a30c 100644 --- a/INSTALLATION.md +++ b/INSTALLATION.md @@ -328,7 +328,7 @@ hstr --show-configuration >> ~/.bashrc . ~/.bashrc ``` -Make sure to **run** `hstr` using Ctrl+r - otherwise commands will not appear in prompt. +Make sure to **run** `hstr` using Ctrlr - otherwise commands will not appear in prompt. Optionally [configure](CONFIGURATION.md) `hh` and check its [man page](README.md#documentation). diff --git a/README.md b/README.md index 90365db..18c86d2 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ again? Are you looking for a tool that is able to manage your HSTR (**H**i**ST**o**R**y) is a command line utility that brings improved Bash command completion from the history. It aims to make completion **easier** and more **efficient** -than Ctrl+r. +than Ctrlr. HSTR can also **manage** your command history (for instance you can remove commands that are obsolete or contain a sensitive information) or **bookmark** diff --git a/man/hh.1 b/man/hh.1 index 7cb31ba..c86c390 100644 --- a/man/hh.1 +++ b/man/hh.1 @@ -55,7 +55,7 @@ Rotate view of history as provided by Bash, ranked history ordered by the number Add currently selected command to favorites. .TP \fBCtrl\-l\fR -Make search pattern lowercase or uppercase. +Toggle search pattern case. .TP \fBCtrl\-r\fR, \fBUP\fR arrow, \fBDOWN\fR arrow, \fBCtrl\-n\fR, \fBCtrl\-p\fR, \fBCtrl\-j\fR, \fBCtrl\-k\fR Navigate in the history list.