Fixing doc keyboard shortcuts description which resolves #288.

This commit is contained in:
Martin Dvorak 2018-08-12 23:37:33 +02:00
parent 5c05a89b9b
commit 26897b8534
4 changed files with 7 additions and 7 deletions

View file

@ -33,7 +33,7 @@ Table of contents:
## Features
HSTR is typically started by pressing <kbd>Ctrl-r</kbd> after
HSTR is typically started by pressing <kbd>Ctrl</kbd><kbd>r</kbd> 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 <kbd>Ctrl-f</kbd>.
ranking or raw history view by pressing <kbd>Ctrl</kbd><kbd>f</kbd>.
You can check your favorite commands by choosing
favorite view - rotate views using <kbd>Ctrl-/</kbd> or start
favorite view - rotate views using <kbd>Ctrl</kbd><kbd>/</kbd> 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 <kbd>Ctrl+x k</kbd> by default.
a key - bound to <kbd>Ctrl</kbd><kbd>x</kbd> <kbd>k</kbd> by default.
## Examples

View file

@ -328,7 +328,7 @@ hstr --show-configuration >> ~/.bashrc
. ~/.bashrc
```
Make sure to **run** `hstr` using <kbd>Ctrl+r</kbd> - otherwise commands will not appear in prompt.
Make sure to **run** `hstr` using <kbd>Ctrl</kbd><kbd>r</kbd> - otherwise commands will not appear in prompt.
Optionally [configure](CONFIGURATION.md) `hh` and check its [man page](README.md#documentation).

View file

@ -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 <kbd>Ctrl+r</kbd>.
than <kbd>Ctrl</kbd><kbd>r</kbd>.
HSTR can also **manage** your command history (for instance you can remove
commands that are obsolete or contain a sensitive information) or **bookmark**

View file

@ -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.